mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-23 09:20:30 +00:00
fix(esp_wifi): Correct action frame type in send_mgmt_frame API
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user