diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-07-18 12:08:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-19 16:50:00 -0400 |
commit | 85a237fe308405ee38eb9c6733571c49902ec229 (patch) | |
tree | 8e8fdbd588a749b7eb7da24d65684a2ca6161c6b /net/mac80211/work.c | |
parent | 34850ab25d74ab4eead62c3b4a9e8036a25cc669 (diff) |
mac80211: implement scan supported rates
Scanning currently uses the TX rate mask to
restrict the rate set, which is bogus. Make
it use the new set of rates from userspace.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/work.c')
-rw-r--r-- | net/mac80211/work.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/work.c b/net/mac80211/work.c index edf8583280c9..f0c74a1a9a02 100644 --- a/net/mac80211/work.c +++ b/net/mac80211/work.c | |||
@@ -450,7 +450,8 @@ ieee80211_direct_probe(struct ieee80211_work *wk) | |||
450 | * will not answer to direct packet in unassociated state. | 450 | * will not answer to direct packet in unassociated state. |
451 | */ | 451 | */ |
452 | ieee80211_send_probe_req(sdata, NULL, wk->probe_auth.ssid, | 452 | ieee80211_send_probe_req(sdata, NULL, wk->probe_auth.ssid, |
453 | wk->probe_auth.ssid_len, NULL, 0, true); | 453 | wk->probe_auth.ssid_len, NULL, 0, |
454 | (u32) -1, true); | ||
454 | 455 | ||
455 | wk->timeout = jiffies + IEEE80211_AUTH_TIMEOUT; | 456 | wk->timeout = jiffies + IEEE80211_AUTH_TIMEOUT; |
456 | run_again(local, wk->timeout); | 457 | run_again(local, wk->timeout); |