mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
Merge branch 'bugfix/wps_connect_to_open_ap_v5.0' into 'release/v5.0'
esp_wifi: bugfix wps connect to open AP (v5.0) See merge request espressif/esp-idf!20252
This commit is contained in:
@@ -1400,6 +1400,7 @@ wifi_station_wps_init(void)
|
|||||||
sm = gWpsSm;
|
sm = gWpsSm;
|
||||||
|
|
||||||
esp_wifi_get_macaddr_internal(WIFI_IF_STA, sm->ownaddr);
|
esp_wifi_get_macaddr_internal(WIFI_IF_STA, sm->ownaddr);
|
||||||
|
os_memcpy(gWpaSm.own_addr, sm->ownaddr, ETH_ALEN);
|
||||||
|
|
||||||
sm->identity_len = WSC_ID_ENROLLEE_LEN;
|
sm->identity_len = WSC_ID_ENROLLEE_LEN;
|
||||||
os_memcpy(sm->identity, WSC_ID_ENROLLEE, sm->identity_len);
|
os_memcpy(sm->identity, WSC_ID_ENROLLEE, sm->identity_len);
|
||||||
|
Reference in New Issue
Block a user