From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis R. Rodriguez Date: Mon, 3 Nov 2008 16:28:50 -0800 Subject: [ath9k-devel] ath9k code In-Reply-To: <490F9362.7010801@astronomicalresearchaustralia.org> References: <20081030200043.GF21459@tesla> <20081103224619.GD6378@tesla> <490F9362.7010801@astronomicalresearchaustralia.org> Message-ID: <20081104002850.GE6378@tesla> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Mon, Nov 03, 2008 at 04:12:18PM -0800, Brian wrote: > Luis, > Thanks for the driver, it works pretty good here. > > I have only had one instance of the link failing. > It has been up for over 24hours now. > > Unfortunately, for now, I have to use an older kernel and so used > http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-old.tar.bz2 > > Does the patch below apply to this? > If so how do I apply it? > > Just had a look at my recv.c and 296 looks different so I guess I cannot > apply it. Nope, but you can try this one: diff --git a/drivers/net/wireless/ath9k/recv.c b/drivers/net/wireless/ath9k/recv.c index 4982563..b51999a 100644 --- a/drivers/net/wireless/ath9k/recv.c +++ b/drivers/net/wireless/ath9k/recv.c @@ -618,9 +618,8 @@ u32 ath_calcrxfilter(struct ath_softc *sc) rfilt &= ~ATH9K_RX_FILTER_UCAST; } - if (((sc->sc_ah->ah_opmode == ATH9K_M_STA) && - (sc->rx_filter & FIF_BCN_PRBRESP_PROMISC)) || - (sc->sc_ah->ah_opmode == ATH9K_M_IBSS)) + if (sc->sc_ah->ah_opmode == ATH9K_M_STA || + sc->sc_ah->ah_opmode == ATH9K_M_IBSS) rfilt |= ATH9K_RX_FILTER_BEACON; /* If in HOSTAP mode, want to enable reception of PSPOLL frames