aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorNick Kossifidis <mick@madwifi-project.org>2009-02-08 23:15:42 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-13 13:44:50 -0500
commit1e3e6e8fe2f422f75619b1110f78bb638ae905b9 (patch)
tree6fdf1d6c0e221ec6ca0e4d7c75c60c7702d9fe28 /drivers/net/wireless
parente8f055f0c3ba226ca599c14c2e5fe829f6f57cbb (diff)
ath5k: Disable BMISS interrupts
* Don't enable BMISS interrupts as we don't handle them yet Signed-off-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath5k/base.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/net/wireless/ath5k/base.c b/drivers/net/wireless/ath5k/base.c
index 4b968a58ac38..3d36e84b1e05 100644
--- a/drivers/net/wireless/ath5k/base.c
+++ b/drivers/net/wireless/ath5k/base.c
@@ -2209,10 +2209,6 @@ ath5k_beacon_update_timers(struct ath5k_softc *sc, u64 bc_tsf)
2209 * 2209 *
2210 * @sc: struct ath5k_softc pointer we are operating on 2210 * @sc: struct ath5k_softc pointer we are operating on
2211 * 2211 *
2212 * When operating in station mode we want to receive a BMISS interrupt when we
2213 * stop seeing beacons from the AP we've associated with so we can look for
2214 * another AP to associate with.
2215 *
2216 * In IBSS mode we use a self-linked tx descriptor if possible. We enable SWBA 2212 * In IBSS mode we use a self-linked tx descriptor if possible. We enable SWBA
2217 * interrupts to detect TSF updates only. 2213 * interrupts to detect TSF updates only.
2218 */ 2214 */
@@ -2225,9 +2221,7 @@ ath5k_beacon_config(struct ath5k_softc *sc)
2225 sc->bmisscount = 0; 2221 sc->bmisscount = 0;
2226 sc->imask &= ~(AR5K_INT_BMISS | AR5K_INT_SWBA); 2222 sc->imask &= ~(AR5K_INT_BMISS | AR5K_INT_SWBA);
2227 2223
2228 if (sc->opmode == NL80211_IFTYPE_STATION) { 2224 if (sc->opmode == NL80211_IFTYPE_ADHOC ||
2229 sc->imask |= AR5K_INT_BMISS;
2230 } else if (sc->opmode == NL80211_IFTYPE_ADHOC ||
2231 sc->opmode == NL80211_IFTYPE_MESH_POINT || 2225 sc->opmode == NL80211_IFTYPE_MESH_POINT ||
2232 sc->opmode == NL80211_IFTYPE_AP) { 2226 sc->opmode == NL80211_IFTYPE_AP) {
2233 /* 2227 /*
@@ -2479,6 +2473,7 @@ ath5k_intr(int irq, void *dev_id)
2479 | AR5K_INT_TXERR | AR5K_INT_TXEOL)) 2473 | AR5K_INT_TXERR | AR5K_INT_TXEOL))
2480 tasklet_schedule(&sc->txtq); 2474 tasklet_schedule(&sc->txtq);
2481 if (status & AR5K_INT_BMISS) { 2475 if (status & AR5K_INT_BMISS) {
2476 /* TODO */
2482 } 2477 }
2483 if (status & AR5K_INT_MIB) { 2478 if (status & AR5K_INT_MIB) {
2484 /* 2479 /*