aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2015-06-17 13:18:19 (GMT)
committerJouni Malinen <j@w1.fi>2015-06-19 13:17:04 (GMT)
commit1ac977bdd51f20c2ee50cebfb79344d3a012db88 (patch)
tree7e8135d33e73b0a64a78cd7ba9533f95199470dc
parent489970270b8c69089e1244b6e3293935555a57e2 (diff)
downloadhostap-1ac977bdd51f20c2ee50cebfb79344d3a012db88.zip
hostap-1ac977bdd51f20c2ee50cebfb79344d3a012db88.tar.gz
hostap-1ac977bdd51f20c2ee50cebfb79344d3a012db88.tar.bz2
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>
-rw-r--r--src/drivers/driver_nl80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 5e046ba..20f5321 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -7807,7 +7807,7 @@ static int nl80211_set_wowlan(void *priv,
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,
NL80211_ATTR_WOWLAN_TRIGGERS)) ||
(triggers->any &&