esp_wifi: fix some WiFi bugs

Fix following WiFi bugs:
1. Fix crashing during shared WEP connection
2. Remove log "age_bss: null bss
3. Add WiFi stop checking at the beginning of wifi deinit api
4. Fix espnow crash
5. Fix the bug for setting channel when WiFi is no NULL mode
6. Adjust scheme percent when BT is in connected status
7. Fix WiFi stop leads to memory leak
8. Place the Vendor Specific Element at the end of WiFi packet
This commit is contained in:
xiehang 2020-03-02 12:05:15 +08:00
parent 328c659cd3
commit 4d10eb20db
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit a28af1f3f2fe9d0a35de0acd80abd58d59d62819
Subproject commit 7df324fc40a1de5f981e4a38d8941d4c82d9a62a

View File

@ -115,6 +115,7 @@ esp_err_t esp_wifi_deinit(void)
err = esp_wifi_deinit_internal();
if (err != ESP_OK) {
ESP_LOGE(TAG, "Failed to deinit Wi-Fi driver (0x%x)", err);
return err;
}
#if CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER