mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/wifi_create_and_start_ap_v4.2' into 'release/v4.2'
Set default AP handlers in wifi_create_and_start_ap() v4.2 See merge request espressif/esp-idf!10458
This commit is contained in:
commit
3c2fd749f0
@ -58,7 +58,7 @@ static void wifi_create_and_start_ap(void *esp_netif, esp_event_base_t base, int
|
||||
esp_netif_t *ap_netif = esp_netif_new(&cfg);
|
||||
|
||||
esp_netif_attach_wifi_ap(ap_netif);
|
||||
esp_wifi_set_default_wifi_sta_handlers();
|
||||
esp_wifi_set_default_wifi_ap_handlers();
|
||||
s_esp_netifs[TCPIP_ADAPTER_IF_AP] = ap_netif;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user