Merge branch 'bugfix/roam_app_neighbor_crash_v5.5' into 'release/v5.5'

fix(wifi_apps): Fix crash due to neighbor_list lock (v5.5)

See merge request espressif/esp-idf!42502
This commit is contained in:
Jiang Jiang Jian
2025-10-13 20:06:02 +08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -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.

View File

@@ -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*/