fix: Recovery-Rettungsweg härten (Watchdog-Cap, Konsole, Softap-Bit, Scan-Retry)
This commit is contained in:
@@ -345,6 +345,13 @@ bool nl_wifi_join_blocking(const char *ssid, const char *pass, uint32_t timeout_
|
||||
{
|
||||
uint32_t waited = 0;
|
||||
|
||||
/* C2: if a stale SDK softap bit from a previous onboarding/fallback boot is still set
|
||||
* in TLS_PARAM_ID_WPROTOCOL, sys_net_status_changed() (sdk/Platform/Sys/tls_sys.c)
|
||||
* recreates the SDK's own default-params softap the moment this join reaches
|
||||
* NETIF_IP_NET_UP - exactly the "lamp stuck in onboarding" case recovery exists for.
|
||||
* Clear it once, up front, same as nl_wifi_start() does. */
|
||||
clear_softap_param();
|
||||
|
||||
s_recovery_join_done = false;
|
||||
s_recovery_join_ok = false;
|
||||
tls_netif_add_status_event(recovery_join_event);
|
||||
|
||||
Reference in New Issue
Block a user