diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-11-21 14:43:51 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-11-21 14:43:51 -0500 |
commit | 75c8ec71fb29ed59c4b9bda2f411ed3b09164cf7 (patch) | |
tree | c1dfd91e624b48ccefa71db573d043b639fe088f /net/mac80211/cfg.c | |
parent | 1e60896fe07307baa5f3ca1a220dfa9792657352 (diff) | |
parent | 77d2ece6fde80631193054edc9c9a3edad519565 (diff) |
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index c46d4ee1c298..6733b374c821 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -2287,7 +2287,8 @@ static int ieee80211_start_roc_work(struct ieee80211_local *local, | |||
2287 | if (!duration) | 2287 | if (!duration) |
2288 | duration = 10; | 2288 | duration = 10; |
2289 | 2289 | ||
2290 | ret = drv_remain_on_channel(local, channel, channel_type, duration); | 2290 | ret = drv_remain_on_channel(local, sdata, channel, channel_type, |
2291 | duration); | ||
2291 | if (ret) { | 2292 | if (ret) { |
2292 | kfree(roc); | 2293 | kfree(roc); |
2293 | return ret; | 2294 | return ret; |
@@ -2298,7 +2299,8 @@ static int ieee80211_start_roc_work(struct ieee80211_local *local, | |||
2298 | 2299 | ||
2299 | out_check_combine: | 2300 | out_check_combine: |
2300 | list_for_each_entry(tmp, &local->roc_list, list) { | 2301 | list_for_each_entry(tmp, &local->roc_list, list) { |
2301 | if (tmp->chan != channel || tmp->chan_type != channel_type) | 2302 | if (tmp->chan != channel || tmp->chan_type != channel_type || |
2303 | tmp->sdata != sdata) | ||
2302 | continue; | 2304 | continue; |
2303 | 2305 | ||
2304 | /* | 2306 | /* |