mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-04 04:25:41 +08:00
Merge branch 'bugfix/fix_set_wifi_opmode_crash' into 'master'
fix(tcpip_adapter): Fix crash when wifi changed to station from softap See merge request sdk/ESP8266_RTOS_SDK!68
This commit is contained in:
@ -162,7 +162,7 @@ void tcpip_adapter_stop(uint8_t netif_index)
|
||||
TCPIP_ATAPTER_LOG("ERROR bad netif index:%d\n", netif_index);
|
||||
return;
|
||||
}
|
||||
if (esp_netif[netif_index == NULL])
|
||||
if (esp_netif[netif_index] == NULL)
|
||||
return;
|
||||
|
||||
if (netif_index == TCPIP_ADAPTER_IF_STA) {
|
||||
|
Reference in New Issue
Block a user