linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ath5k: enable RXing beacons
@ 2008-11-03  0:36 Luis R. Rodriguez
  2008-11-03  1:39 ` Dan Williams
  2008-11-03 10:16 ` Felix Fietkau
  0 siblings, 2 replies; 12+ messages in thread
From: Luis R. Rodriguez @ 2008-11-03  0:36 UTC (permalink / raw)
  To: linville, linville; +Cc: Luis R. Rodriguez, linux-wireless

Prior to this we would rely only on probe responses
from the AP to keep associated. We now receive beacons
on ath5k. This should fix sporadic disassociations.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
---
 drivers/net/wireless/ath5k/base.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/ath5k/base.c b/drivers/net/wireless/ath5k/base.c
index f5f46fe..5505f45 100644
--- a/drivers/net/wireless/ath5k/base.c
+++ b/drivers/net/wireless/ath5k/base.c
@@ -2948,6 +2948,8 @@ static void ath5k_configure_filter(struct ieee80211_hw *hw,
 			AR5K_RX_FILTER_PROBEREQ | AR5K_RX_FILTER_PROM;
 	if (sc->opmode != NL80211_IFTYPE_STATION)
 		rfilt |= AR5K_RX_FILTER_PROBEREQ;
+	if (sc->opmode == NL80211_IFTYPE_STATION)
+		rfilt |= AR5K_RX_FILTER_BEACON;
 	if (sc->opmode != NL80211_IFTYPE_AP &&
 		sc->opmode != NL80211_IFTYPE_MESH_POINT &&
 		test_bit(ATH_STAT_PROMISC, sc->status))
-- 
1.5.6.rc2.15.g457bb.dirty


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-11-05 16:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-03  0:36 [PATCH] ath5k: enable RXing beacons Luis R. Rodriguez
2008-11-03  1:39 ` Dan Williams
2008-11-03  2:10   ` Bob Copeland
2008-11-03  4:43     ` Luis R. Rodriguez
2008-11-03  4:49       ` Luis R. Rodriguez
2008-11-03  4:52         ` Luis R. Rodriguez
2008-11-03 15:17           ` Bob Copeland
2008-11-04 12:37             ` Bob Copeland
2008-11-04 19:19               ` Luis R. Rodriguez
2008-11-05 16:03                 ` Bob Copeland
2008-11-05 16:32     ` Nick Kossifidis
2008-11-03 10:16 ` Felix Fietkau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).