mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-31 01:04:03 -05:00
nl8021: Allow sending wowlan configuration on any interface
Sending a wowlan configuration command can be done on any wireless interface (not only netdev), as it is a device configuration and not interface configuration specific. Fix the code to allow it to be sent on any interface. Signed-off-by: Ilan Peer <ilan.peer@intel.com>
This commit is contained in:
parent
489970270b
commit
1ac977bdd5
@ -7807,7 +7807,7 @@ static int nl80211_set_wowlan(void *priv,
|
|||||||
|
|
||||||
wpa_printf(MSG_DEBUG, "nl80211: Setting wowlan");
|
wpa_printf(MSG_DEBUG, "nl80211: Setting wowlan");
|
||||||
|
|
||||||
if (!(msg = nl80211_drv_msg(drv, 0, NL80211_CMD_SET_WOWLAN)) ||
|
if (!(msg = nl80211_cmd_msg(bss, 0, NL80211_CMD_SET_WOWLAN)) ||
|
||||||
!(wowlan_triggers = nla_nest_start(msg,
|
!(wowlan_triggers = nla_nest_start(msg,
|
||||||
NL80211_ATTR_WOWLAN_TRIGGERS)) ||
|
NL80211_ATTR_WOWLAN_TRIGGERS)) ||
|
||||||
(triggers->any &&
|
(triggers->any &&
|
||||||
|
Loading…
Reference in New Issue
Block a user