mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 10:30:58 +02:00
fix(wifi_apps): Fix crash due to neighbor_list lock
Closes https://github.com/espressif/esp-idf/issues/16976
This commit is contained in:
@@ -73,7 +73,7 @@ menu "Roaming Methods"
|
||||
config ESP_WIFI_ROAMING_NETWORK_ASSISTED_ROAM
|
||||
bool "Support Network Assisted roaming using 802.11v"
|
||||
depends on ESP_WIFI_WNM_SUPPORT
|
||||
default y
|
||||
default n
|
||||
help
|
||||
Roaming between APs using network assisted Roaming.
|
||||
This involves BSS Transition Management mechanisms outlined in 802.11v.
|
||||
|
@@ -415,7 +415,7 @@ static void roaming_app_rssi_low_handler(void* arg, esp_event_base_t event_base,
|
||||
static void trigger_network_assisted_roam(void)
|
||||
{
|
||||
#if PERIODIC_RRM_MONITORING
|
||||
if (g_roaming_app.config.rrm_monitor) {
|
||||
if (g_roaming_app.current_bss.rrm_support) {
|
||||
ROAM_NEIGHBOR_LIST_LOCK();
|
||||
}
|
||||
#endif /*PERIODIC_RRM_MONITORING*/
|
||||
@@ -423,7 +423,7 @@ static void trigger_network_assisted_roam(void)
|
||||
ESP_LOGD(ROAMING_TAG, "failed to send btm query");
|
||||
}
|
||||
#if PERIODIC_RRM_MONITORING
|
||||
if (g_roaming_app.config.rrm_monitor) {
|
||||
if (g_roaming_app.current_bss.rrm_support) {
|
||||
ROAM_NEIGHBOR_LIST_UNLOCK();
|
||||
}
|
||||
#endif /*PERIODIC_RRM_MONITORING*/
|
||||
|
Reference in New Issue
Block a user