mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -04:00
esp_wifi: bugfix wps connect to open AP
Set Mac address in correct field
This commit is contained in:
parent
9d8d118397
commit
d12351f7a6
@ -1404,6 +1404,7 @@ wifi_station_wps_init(void)
|
||||
sm = gWpsSm;
|
||||
|
||||
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;
|
||||
os_memcpy(sm->identity, WSC_ID_ENROLLEE, sm->identity_len);
|
||||
|
Loading…
Reference in New Issue
Block a user