mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(esp_wifi): Correct action frame type in send_mgmt_frame API
This commit is contained in:
parent
af302c0bee
commit
79cea90dc1
@ -1 +1 @@
|
||||
Subproject commit 0565ffa6951b47df93dbca0aee94eafff64c9ade
|
||||
Subproject commit 516ae8c586881cc71c9f5a464e4f40cb3014b58f
|
@ -870,7 +870,7 @@ int wpa_drv_send_action(struct wpa_supplicant *wpa_s,
|
||||
}
|
||||
|
||||
req->ifx = WIFI_IF_STA;
|
||||
req->subtype = WLAN_FC_STYPE_ACTION;
|
||||
req->subtype = (WLAN_FC_STYPE_ACTION << 4);
|
||||
req->data_len = data_len;
|
||||
os_memcpy(req->data, data, req->data_len);
|
||||
|
||||
|
@ -633,7 +633,7 @@ int esp_send_sae_auth_reply(struct hostapd_data *hapd,
|
||||
os_memcpy(&((uint16_t *)req->data)[3], ies, ies_len - 3 * sizeof(uint16_t));
|
||||
|
||||
req->ifx = WIFI_IF_AP;
|
||||
req->subtype = WLAN_FC_STYPE_AUTH;
|
||||
req->subtype = (WLAN_FC_STYPE_AUTH << 4);
|
||||
req->data_len = ies_len;
|
||||
os_memcpy(req->da, bssid, ETH_ALEN);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user