diff options
author | Alina Friedrichsen <x-alina@gmx.net> | 2009-03-02 17:13:40 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-05 14:39:39 -0500 |
commit | 91ed19f5f66a7fe544f0ec385e981f43491d1d5a (patch) | |
tree | f016c13927cf5e003ef6433def24bf4f21aa2c86 /drivers/net/wireless/ath9k/main.c | |
parent | 541d8dd5e848aa5f8223a9e8e13b369d64865f07 (diff) |
ath9k: Fix FIF_BCN_PRBRESP_PROMISC handling
So that a new created IBSS network
doesn't break on the first scan.
It seems to Sujith and me that this
stupid code unnecessary, too.
So remove it...
Signed-off-by: Alina Friedrichsen <x-alina@gmx.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath9k/main.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c index 7effa0c40b8a..59b769e716fc 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c | |||
@@ -2410,14 +2410,6 @@ static void ath9k_configure_filter(struct ieee80211_hw *hw, | |||
2410 | rfilt = ath_calcrxfilter(sc); | 2410 | rfilt = ath_calcrxfilter(sc); |
2411 | ath9k_hw_setrxfilter(sc->sc_ah, rfilt); | 2411 | ath9k_hw_setrxfilter(sc->sc_ah, rfilt); |
2412 | 2412 | ||
2413 | if (changed_flags & FIF_BCN_PRBRESP_PROMISC) { | ||
2414 | if (*total_flags & FIF_BCN_PRBRESP_PROMISC) { | ||
2415 | memcpy(sc->curbssid, ath_bcast_mac, ETH_ALEN); | ||
2416 | sc->curaid = 0; | ||
2417 | ath9k_hw_write_associd(sc); | ||
2418 | } | ||
2419 | } | ||
2420 | |||
2421 | DPRINTF(sc, ATH_DBG_CONFIG, "Set HW RX filter: 0x%x\n", sc->rx.rxfilter); | 2413 | DPRINTF(sc, ATH_DBG_CONFIG, "Set HW RX filter: 0x%x\n", sc->rx.rxfilter); |
2422 | } | 2414 | } |
2423 | 2415 | ||