Merge branch 'bugfix/wifi_wpa2_ent_example' into 'master'

Minor bugfix in wpa2_enterprise_example

See merge request espressif/esp-idf!6875
This commit is contained in:
Jiang Jiang Jian 2019-12-02 13:54:51 +08:00
commit 4e687db2ca

View File

@ -107,7 +107,7 @@ static void initialise_wifi(void)
esp_netif_init();
wifi_event_group = xEventGroupCreate();
ESP_ERROR_CHECK(esp_event_loop_create_default());
esp_netif_t *sta_netif = esp_netif_create_default_wifi_sta();
sta_netif = esp_netif_create_default_wifi_sta();
assert(sta_netif);
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();