mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-31 09:14:03 -05:00
nl80211: Handle control port frame in bss events
In order to work in AP mode, handle control port frame RX as per bss event. Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
This commit is contained in:
parent
6f70fcd986
commit
b4a70018ee
@ -2751,9 +2751,6 @@ static void do_process_drv_event(struct i802_bss *bss, int cmd,
|
|||||||
case NL80211_CMD_UPDATE_OWE_INFO:
|
case NL80211_CMD_UPDATE_OWE_INFO:
|
||||||
mlme_event_dh_event(drv, bss, tb);
|
mlme_event_dh_event(drv, bss, tb);
|
||||||
break;
|
break;
|
||||||
case NL80211_CMD_CONTROL_PORT_FRAME:
|
|
||||||
nl80211_control_port_frame(drv, tb);
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
wpa_dbg(drv->ctx, MSG_DEBUG, "nl80211: Ignored unknown event "
|
wpa_dbg(drv->ctx, MSG_DEBUG, "nl80211: Ignored unknown event "
|
||||||
"(cmd=%d)", cmd);
|
"(cmd=%d)", cmd);
|
||||||
@ -2843,6 +2840,9 @@ int process_bss_event(struct nl_msg *msg, void *arg)
|
|||||||
case NL80211_CMD_EXTERNAL_AUTH:
|
case NL80211_CMD_EXTERNAL_AUTH:
|
||||||
nl80211_external_auth(bss->drv, tb);
|
nl80211_external_auth(bss->drv, tb);
|
||||||
break;
|
break;
|
||||||
|
case NL80211_CMD_CONTROL_PORT_FRAME:
|
||||||
|
nl80211_control_port_frame(bss->drv, tb);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
wpa_printf(MSG_DEBUG, "nl80211: Ignored unknown event "
|
wpa_printf(MSG_DEBUG, "nl80211: Ignored unknown event "
|
||||||
"(cmd=%d)", gnlh->cmd);
|
"(cmd=%d)", gnlh->cmd);
|
||||||
|
Loading…
Reference in New Issue
Block a user