Skip to contentSkip to conversation

ath9k: Fix FIF_BCN_PRBRESP_PROMISC handling

PATCH New Alina Friedrichsen 1 participant 1 message Mar 2, 2009 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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...

---

drivers/net/wireless/a= renamed from drivers/net/wireless/ath9k/main.c +0 -0

th9k/main.c
index f5f5739..e242852 100644

drivers/net/wireless/ath9k/main.c +0 -0
@@ -2396,14 +2396,6 @@ static void ath9k_configure_filter(struct ieee80=

211_hw *hw,
rfilt =3D ath_calcrxfilter(sc); ath9k_hw_setrxfilter(sc->sc_ah, rfilt);
=20
- if (changed_flags & FIF_BCN_PRBRESP_PROMISC) {
- if (*total_flags & FIF_BCN_PRBRESP_PROMISC) {
- memcpy(sc->curbssid, ath_bcast_mac, ETH_ALEN);
- sc->curaid =3D 0;
- ath9k_hw_write_associd(sc);
- }
- }
-
DPRINTF(sc, ATH_DBG_CONFIG, "Set HW RX filter: 0x%x\n", sc->rx.rxfilt=
er);
}
=20

--=20
Psssst! Schon vom neuen GMX MultiMessenger geh=F6rt? Der kann`s mit all=
en: http://www.gmx.net/de/go/multimessenger01
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html