summaryrefslogtreecommitdiff
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorMaxim Levitsky <maximlevitsky@gmail.com>2009-07-31 18:54:12 +0300
committerJohn W. Linville <linville@tuxdriver.com>2009-08-04 16:44:20 -0400
commita43abf293965230c93a4b74e5d10b9d60b153ab4 (patch)
tree8b80f5af8cbb04eeb502dafababe1098a5c6ae59 /net/mac80211/ieee80211_i.h
parent75e6c3b72b3ab01c47629f3fbd0fed4e6550bf3a (diff)
mac80211: Retry probe request few times
Retry 5 times (chosen arbitary ), before assuming that station is out of range. Fixes frequent disassociations while connected to weak, and sometimes even strong access points. Signed-off-by: Maxim Levitky <maximlevitsky@gmail.com> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 316825be2019..8d790e40f3e9 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -280,6 +280,7 @@ struct ieee80211_if_managed {
struct work_struct beacon_loss_work;
unsigned long probe_timeout;
+ int probe_send_count;
struct mutex mtx;
struct ieee80211_bss *associated;