mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
wpa_supplicant: Fix max sta num error for softAP
This commit is contained in:
parent
e70f45acd1
commit
273f36829a
@ -46,7 +46,7 @@ void *hostap_init(void)
|
||||
os_free(hapd);
|
||||
return NULL;
|
||||
}
|
||||
hapd->conf->max_num_sta = MAX_STA_COUNT;
|
||||
hapd->conf->max_num_sta = esp_wifi_ap_get_max_sta_conn();
|
||||
|
||||
auth_conf = (struct wpa_auth_config *)os_zalloc(sizeof(struct wpa_auth_config));
|
||||
|
||||
|
@ -282,5 +282,6 @@ bool esp_wifi_is_ft_enabled_internal(uint8_t if_index);
|
||||
uint8_t esp_wifi_sta_get_config_sae_pwe_h2e_internal(void);
|
||||
uint8_t esp_wifi_sta_get_use_h2e_internal(void);
|
||||
void esp_wifi_sta_disable_wpa2_authmode_internal(void);
|
||||
uint8_t esp_wifi_ap_get_max_sta_conn(void);
|
||||
|
||||
#endif /* _ESP_WIFI_DRIVER_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user