Skip to content

Commit

Permalink
ath9k: Fix FIF_BCN_PRBRESP_PROMISC handling
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alina Friedrichsen authored and John W. Linville committed Mar 5, 2009
1 parent 541d8dd commit 91ed19f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/net/wireless/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2410,14 +2410,6 @@ static void ath9k_configure_filter(struct ieee80211_hw *hw,
rfilt = ath_calcrxfilter(sc);
ath9k_hw_setrxfilter(sc->sc_ah, rfilt);

if (changed_flags & FIF_BCN_PRBRESP_PROMISC) {
if (*total_flags & FIF_BCN_PRBRESP_PROMISC) {
memcpy(sc->curbssid, ath_bcast_mac, ETH_ALEN);
sc->curaid = 0;
ath9k_hw_write_associd(sc);
}
}

DPRINTF(sc, ATH_DBG_CONFIG, "Set HW RX filter: 0x%x\n", sc->rx.rxfilter);
}

Expand Down

0 comments on commit 91ed19f

Please sign in to comment.