mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/clean_wpa2_wifi_deinit' into 'master'
wpa_supplicant: Deinit wpa2 states in wifi deinit See merge request espressif/esp-idf!10103
This commit is contained in:
commit
4dcaa0e6f4
@ -34,6 +34,7 @@
|
|||||||
#include "esp_wifi_driver.h"
|
#include "esp_wifi_driver.h"
|
||||||
#include "esp_private/wifi.h"
|
#include "esp_private/wifi.h"
|
||||||
#include "esp_wpa3_i.h"
|
#include "esp_wpa3_i.h"
|
||||||
|
#include "esp_wpa2.h"
|
||||||
|
|
||||||
void wpa_install_key(enum wpa_alg alg, u8 *addr, int key_idx, int set_tx,
|
void wpa_install_key(enum wpa_alg alg, u8 *addr, int key_idx, int set_tx,
|
||||||
u8 *seq, size_t seq_len, u8 *key, size_t key_len, int key_entry_valid)
|
u8 *seq, size_t seq_len, u8 *key, size_t key_len, int key_entry_valid)
|
||||||
@ -148,6 +149,7 @@ bool wpa_ap_rx_eapol(void *hapd_data, void *sm_data, u8 *data, size_t data_len)
|
|||||||
|
|
||||||
bool wpa_deattach(void)
|
bool wpa_deattach(void)
|
||||||
{
|
{
|
||||||
|
esp_wifi_sta_wpa2_ent_disable();
|
||||||
wpa_sm_deinit();
|
wpa_sm_deinit();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user