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 /net/mac80211/offchannel.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 'net/mac80211/offchannel.c')
-rw-r--r-- | net/mac80211/offchannel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/offchannel.c b/net/mac80211/offchannel.c index 0cd42d52880c..7f8a36510813 100644 --- a/net/mac80211/offchannel.c +++ b/net/mac80211/offchannel.c | |||
@@ -283,7 +283,7 @@ void ieee80211_start_next_roc(struct ieee80211_local *local) | |||
283 | if (!duration) | 283 | if (!duration) |
284 | duration = 10; | 284 | duration = 10; |
285 | 285 | ||
286 | ret = drv_remain_on_channel(local, roc->chan, | 286 | ret = drv_remain_on_channel(local, roc->sdata, roc->chan, |
287 | roc->chan_type, | 287 | roc->chan_type, |
288 | duration); | 288 | duration); |
289 | 289 | ||