mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'contrib/github_pr_8779' into 'master'
esp_wifi: fix clearing default wifi netif procedure(GitHub PR) Closes IDFGH-7179 See merge request espressif/esp-idf!17788
This commit is contained in:
commit
43f769dcb4
@ -236,6 +236,8 @@ esp_err_t esp_wifi_clear_default_wifi_driver_and_handlers(void *esp_netif)
|
|||||||
if (s_wifi_netifs[i] == esp_netif) {
|
if (s_wifi_netifs[i] == esp_netif) {
|
||||||
s_wifi_netifs[i] = NULL;
|
s_wifi_netifs[i] = NULL;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
for (i = 0; i< MAX_WIFI_IFS; ++i) {
|
||||||
// check if all netifs are cleared to delete default handlers
|
// check if all netifs are cleared to delete default handlers
|
||||||
if (s_wifi_netifs[i] != NULL) {
|
if (s_wifi_netifs[i] != NULL) {
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user