mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
fix(wifi): Resolve comments on feature/softap_fixes_for_ceritification
This commit is contained in:
@@ -180,7 +180,7 @@ static int auth_sae_send_confirm(struct hostapd_data *hapd,
|
|||||||
reply_res = -1;
|
reply_res = -1;
|
||||||
} else {
|
} else {
|
||||||
if (sta->sae_data)
|
if (sta->sae_data)
|
||||||
wpabuf_free(data);
|
wpabuf_free(sta->sae_data);
|
||||||
sta->sae_data = data;
|
sta->sae_data = data;
|
||||||
reply_res = 0;
|
reply_res = 0;
|
||||||
/* confirm is sent in later stage when all the required processing for a sta is done*/
|
/* confirm is sent in later stage when all the required processing for a sta is done*/
|
||||||
@@ -678,7 +678,7 @@ int auth_sae_queue(struct hostapd_data *hapd,
|
|||||||
unsigned int queue_len;
|
unsigned int queue_len;
|
||||||
|
|
||||||
queue_len = dl_list_len(&hapd->sae_commit_queue);
|
queue_len = dl_list_len(&hapd->sae_commit_queue);
|
||||||
if (queue_len >= 5) {
|
if (queue_len >= hapd->conf->max_num_sta) {
|
||||||
wpa_printf(MSG_DEBUG,
|
wpa_printf(MSG_DEBUG,
|
||||||
"SAE: No more room in message queue - drop the new frame from "
|
"SAE: No more room in message queue - drop the new frame from "
|
||||||
MACSTR, MAC2STR(bssid));
|
MACSTR, MAC2STR(bssid));
|
||||||
|
@@ -5,7 +5,6 @@
|
|||||||
* This software may be distributed under the terms of the BSD license.
|
* This software may be distributed under the terms of the BSD license.
|
||||||
* See README for more details.
|
* See README for more details.
|
||||||
*/
|
*/
|
||||||
#ifdef ESP_SUPPLICANT
|
|
||||||
|
|
||||||
#include "utils/includes.h"
|
#include "utils/includes.h"
|
||||||
#include "utils/common.h"
|
#include "utils/common.h"
|
||||||
@@ -1542,5 +1541,3 @@ int wpa_cipher_put_suites(u8 *pos, int ciphers)
|
|||||||
|
|
||||||
return num_suites;
|
return num_suites;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // ESP_SUPPLICANT
|
|
||||||
|
@@ -11,7 +11,6 @@
|
|||||||
*
|
*
|
||||||
* See README and COPYING for more details.
|
* See README and COPYING for more details.
|
||||||
*/
|
*/
|
||||||
#ifdef ESP_SUPPLICANT
|
|
||||||
|
|
||||||
#include "utils/includes.h"
|
#include "utils/includes.h"
|
||||||
|
|
||||||
@@ -452,6 +451,3 @@ int wpa_supplicant_parse_ies(const u8 *buf, size_t len,
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif // ESP_SUPPLICANT
|
|
||||||
|
Reference in New Issue
Block a user