mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
wpa_supplicant: Remove lock during processing of btm/rrm packets
Lock is not required during btm/rrm action frames processing and taking it may cause inconsistant behavior since wifi task posts the events to this task.
This commit is contained in:
parent
5ad7e4aa2a
commit
626d9d8bd6
@ -116,9 +116,6 @@ static void esp_btm_rrm_task(void *pvParameters)
|
||||
continue;
|
||||
}
|
||||
|
||||
/* get lock */
|
||||
SUPPLICANT_API_LOCK();
|
||||
|
||||
switch (evt->id) {
|
||||
case SIG_SUPPLICANT_RX_ACTION:
|
||||
{
|
||||
@ -139,7 +136,6 @@ static void esp_btm_rrm_task(void *pvParameters)
|
||||
}
|
||||
|
||||
os_free(evt);
|
||||
SUPPLICANT_API_UNLOCK();
|
||||
|
||||
if (task_del)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user