mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-12-15 01:48:20 +08:00
fix(wifi): fix writing errors
This commit is contained in:
@@ -200,7 +200,7 @@ esp_err_t app_prov_event_handler(void *ctx, system_event_t *event)
|
||||
default:
|
||||
if (info->disconnected.reason == WIFI_REASON_BASIC_RATE_NOT_SUPPORT) {
|
||||
/*Switch to 802.11 bgn mode */
|
||||
esp_wifi_set_protocol(ESP_IF_WIFI_STA, WIFI_PROTOCAL_11B | WIFI_PROTOCAL_11G | WIFI_PROTOCAL_11N);
|
||||
esp_wifi_set_protocol(ESP_IF_WIFI_STA, WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G | WIFI_PROTOCOL_11N);
|
||||
}
|
||||
/* If none of the expected reasons,
|
||||
* retry connecting to host SSID */
|
||||
|
||||
Reference in New Issue
Block a user