diff options
author | Maxim Levitsky <maximlevitsky@gmail.com> | 2009-07-31 11:54:12 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-04 16:44:20 -0400 |
commit | a43abf293965230c93a4b74e5d10b9d60b153ab4 (patch) | |
tree | 8b80f5af8cbb04eeb502dafababe1098a5c6ae59 /net/mac80211/ieee80211_i.h | |
parent | 75e6c3b72b3ab01c47629f3fbd0fed4e6550bf3a (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.h | 1 |
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 { | |||
280 | struct work_struct beacon_loss_work; | 280 | struct work_struct beacon_loss_work; |
281 | 281 | ||
282 | unsigned long probe_timeout; | 282 | unsigned long probe_timeout; |
283 | int probe_send_count; | ||
283 | 284 | ||
284 | struct mutex mtx; | 285 | struct mutex mtx; |
285 | struct ieee80211_bss *associated; | 286 | struct ieee80211_bss *associated; |