mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2026-01-27 02:22:14 +00:00
On dual boot bank devices, avoid running EST twice by checking for operational certificates before falling back to the alternate bank. Previously, after an upgrade the AP would boot from the alternate bank, find only birth certificates there, and run EST again - resulting in duplicate operational certificates. Now the flow is: - If operational.pem exists in current bank, use it - If only birth certs in current bank, check alternate bank - Single boot bank devices behave as before Fixes: WIFI-15292 Signed-off-by: John Crispin <john@phrozen.org>