All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luis R. Rodriguez <lrodriguez@atheros.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k code
Date: Mon, 3 Nov 2008 16:28:50 -0800	[thread overview]
Message-ID: <20081104002850.GE6378@tesla> (raw)
In-Reply-To: <490F9362.7010801@astronomicalresearchaustralia.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

  reply	other threads:[~2008-11-04  0:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30 19:51 [ath9k-devel] ath9k code Jongwon Yoon
2008-10-30 20:00 ` Luis R. Rodriguez
2008-10-31  4:07   ` Steven Noonan
2008-11-03 22:46     ` Luis R. Rodriguez
2008-11-04  0:12       ` Brian
2008-11-04  0:28         ` Luis R. Rodriguez [this message]
2008-11-03 18:10   ` Jongwon Yoon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081104002850.GE6378@tesla \
    --to=lrodriguez@atheros.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.