diff options
author | Paul Stewart <pstew@chromium.org> | 2011-06-23 13:00:11 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-27 15:09:41 -0400 |
commit | a806c558e01747b499201d2667818f03d79ef1e3 (patch) | |
tree | d639da034366d3390f8b99a96cc30bec11abf446 /net/mac80211/work.c | |
parent | ce2dd3c2d54494195e8820b2432eb47ca61ebdd7 (diff) |
mac80211: Drop DS Channel PARAM in directed probe
Do not send DS Channel parameter for directed probe requests
in order to maximize the chance that we get a response. Some
badly-behaved APs don't respond when this parameter is included.
Signed-off-by: Paul Stewart <pstew@chromium.org>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/work.c')
-rw-r--r-- | net/mac80211/work.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/work.c b/net/mac80211/work.c index d2e7f0e86677..edf8583280c9 100644 --- a/net/mac80211/work.c +++ b/net/mac80211/work.c | |||
@@ -450,7 +450,7 @@ 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); | 453 | wk->probe_auth.ssid_len, NULL, 0, true); |
454 | 454 | ||
455 | wk->timeout = jiffies + IEEE80211_AUTH_TIMEOUT; | 455 | wk->timeout = jiffies + IEEE80211_AUTH_TIMEOUT; |
456 | run_again(local, wk->timeout); | 456 | run_again(local, wk->timeout); |