diff options
author | Eliad Peller <eliad@wizery.com> | 2012-11-19 10:05:09 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-19 10:20:37 -0500 |
commit | 49884568628db47a1f8c1f596c6ab3b8db81b73c (patch) | |
tree | c5fb7a7c9c5a4ea3c91b201f5f0bb692eaa8afe1 /drivers/net/wireless/mac80211_hwsim.c | |
parent | 3475b0946bd2057497628790d4b4fce4bfdcc304 (diff) |
mac80211: make remain_on_channel() op pass vif param
Drivers (e.g. wl12xx) might need to know the vif
to roc on (mainly in order to configure the
rx filters correctly).
Add the vif to the op params, and update the current
users (iwlwifi) to use the new api.
Signed-off-by: Eliad Peller <eliad@wizery.com>
[fix hwsim]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index c242f5a9b8bc..3baa51f1bb83 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -1453,6 +1453,7 @@ static void hw_roc_done(struct work_struct *work) | |||
1453 | } | 1453 | } |
1454 | 1454 | ||
1455 | static int mac80211_hwsim_roc(struct ieee80211_hw *hw, | 1455 | static int mac80211_hwsim_roc(struct ieee80211_hw *hw, |
1456 | struct ieee80211_vif *vif, | ||
1456 | struct ieee80211_channel *chan, | 1457 | struct ieee80211_channel *chan, |
1457 | enum nl80211_channel_type channel_type, | 1458 | enum nl80211_channel_type channel_type, |
1458 | int duration) | 1459 | int duration) |