mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-21 00:48:14 +00:00
Merge branch 'bugfix/wpa_sm_cleanup' into 'master'
esp_wifi: Remove unnecessary function pointers from wpa_sm_init See merge request espressif/esp-idf!19833
This commit is contained in:
@@ -124,8 +124,7 @@ void wpa_neg_complete(void)
|
||||
bool wpa_attach(void)
|
||||
{
|
||||
bool ret = true;
|
||||
ret = wpa_sm_init(NULL, wpa_sendto_wrapper,
|
||||
wpa_config_assoc_ie, wpa_install_key, wpa_get_key, wpa_deauthenticate, wpa_neg_complete);
|
||||
ret = wpa_sm_init();
|
||||
if(ret) {
|
||||
ret = (esp_wifi_register_tx_cb_internal(eapol_txcb, WIFI_TXCB_EAPOL_ID) == ESP_OK);
|
||||
}
|
||||
|
Reference in New Issue
Block a user