esp_netif: extract wifi_netif module as an abstraction to wifi universal interface defined by if handle and callback

* Original commit: espressif/esp-idf@20add7da60
This commit is contained in:
David Cermak
2019-09-15 19:49:45 +02:00
committed by suren-gabrielyan-espressif
parent d1c62628b8
commit 573855031d

View File

@ -137,7 +137,8 @@ static void start(void)
assert(netif);
esp_wifi_set_default_wifi_driver_and_handlers(ESP_IF_WIFI_STA, netif);
esp_netif_attach_wifi_station(netif);
esp_wifi_set_default_wifi_sta_handlers();
s_example_esp_netif = netif;