mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 11:17:20 +02:00
wpa_supplicant: Fix clear WLAN_FC_STYPE_ACTION bit in esp_register_action_frame
It should clear WLAN_FC_STYPE_ACTION bit intead of WLAN_FC_STYPE_ACTION. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Sagar Bijwe <sagar@espressif.com> Merges https://github.com/espressif/esp-idf/pull/7252
This commit is contained in:
@ -177,7 +177,7 @@ static void esp_clear_bssid_flag(struct wpa_supplicant *wpa_s)
|
|||||||
|
|
||||||
static void esp_register_action_frame(struct wpa_supplicant *wpa_s)
|
static void esp_register_action_frame(struct wpa_supplicant *wpa_s)
|
||||||
{
|
{
|
||||||
wpa_s->type &= ~WLAN_FC_STYPE_ACTION;
|
wpa_s->type &= ~(1 << WLAN_FC_STYPE_ACTION);
|
||||||
/* subtype is defined only for action frame */
|
/* subtype is defined only for action frame */
|
||||||
wpa_s->subtype = 0;
|
wpa_s->subtype = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user