mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 19:04:02 -05:00
nl80211: Handle NL80211_CMD_WIPHY_REG_CHANGE event
Handle NL80211_CMD_WIPHY_REG_CHANGE the same way as the NL80211_CMD_REG_CHANGE event. The wiphy-specific event is generated by the cfg80211 reg_process_self_managed_hints() function, e.g., when going through regulatory_set_wiphy_regd_sync_rtnl(). Previously, such events were ignored completely in hostapd/wpa_supplicant. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
c3e4f40cd6
commit
b915f2cdf2
@ -2473,6 +2473,7 @@ static void do_process_drv_event(struct i802_bss *bss, int cmd,
|
||||
nl80211_cqm_event(drv, tb);
|
||||
break;
|
||||
case NL80211_CMD_REG_CHANGE:
|
||||
case NL80211_CMD_WIPHY_REG_CHANGE:
|
||||
nl80211_reg_change_event(drv, tb);
|
||||
break;
|
||||
case NL80211_CMD_REG_BEACON_HINT:
|
||||
|
Loading…
Reference in New Issue
Block a user