From: Greg Kroah-Hartman Date: Wed, 6 May 2009 17:04:25 +0000 (-0700) Subject: ath9k patch for .29 X-Git-Tag: v2.6.27.23~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90f8c353182f45bf753f5eb13f17ff0b1606f7b8;p=thirdparty%2Fkernel%2Fstable-queue.git ath9k patch for .29 --- diff --git a/queue-2.6.29/ath9k-fix-fif_bcn_prbresp_promisc-handling.patch b/queue-2.6.29/ath9k-fix-fif_bcn_prbresp_promisc-handling.patch new file mode 100644 index 00000000000..670ccb2383c --- /dev/null +++ b/queue-2.6.29/ath9k-fix-fif_bcn_prbresp_promisc-handling.patch @@ -0,0 +1,58 @@ +From lrodriguez@Atheros.com Wed May 6 10:01:13 2009 +From: "Luis R. Rodriguez" +Date: Tue, 5 May 2009 17:04:11 -0700 +Subject: ath9k: Fix FIF_BCN_PRBRESP_PROMISC handling +To: +Cc: linux-wireless@vger.kernel.org +Message-ID: <20090506000410.GC3436@tesla> +Content-Disposition: inline + +From: Luis R. Rodriguez + +This is a port of commit +91ed19f5f66a7fe544f0ec385e981f43491d1d5a +for 2.6.29. + +Without this after scanning your device will set +the association ID to something bogus and what is +being reported is multicast/broadcast frame are not +being received. For details see this bug report: + +https://bugzilla.redhat.com/show_bug.cgi?id=498502 + +>From the original commit: + +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... + +Reported-by: David Woodhouse +Tested-by: David Woodhouse +Signed-off-by: Alina Friedrichsen +Signed-off-by: John W. Linville +Signed-off-by: Jouni Malinen +Signed-off-by: Luis R. Rodriguez +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/net/wireless/ath9k/main.c | 5 ----- + 1 file changed, 5 deletions(-) + +--- a/drivers/net/wireless/ath9k/main.c ++++ b/drivers/net/wireless/ath9k/main.c +@@ -2300,11 +2300,6 @@ static void ath9k_configure_filter(struc + 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) +- ath9k_hw_write_associd(sc->sc_ah, ath_bcast_mac, 0); +- } +- + DPRINTF(sc, ATH_DBG_CONFIG, "Set HW RX filter: 0x%x\n", sc->rx.rxfilter); + } + diff --git a/queue-2.6.29/series b/queue-2.6.29/series index 67397f6e3de..ee2240b5fcb 100644 --- a/queue-2.6.29/series +++ b/queue-2.6.29/series @@ -55,3 +55,4 @@ committed_as-for-2.6.29.2.patch rndis_wlan-fix-initialization-order-for-workqueue-workers.patch sched-account-system-time-properly.patch tracing-x86-mmiotrace-fix-range-test.patch +ath9k-fix-fif_bcn_prbresp_promisc-handling.patch