rpms/kernel/F-11 linux-2.6-ath9k-Fix-FIF_BCN_PRBRESP_PROMISC-handling.patch, NONE, 1.1 kernel.spec, 1.1591, 1.1592

John W. Linville linville at fedoraproject.org
Wed May 6 14:34:37 UTC 2009


Author: linville

Update of /cvs/pkgs/rpms/kernel/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26210

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-ath9k-Fix-FIF_BCN_PRBRESP_PROMISC-handling.patch 
Log Message:
back-port ath9k: Fix FIF_BCN_PRBRESP_PROMISC handling

linux-2.6-ath9k-Fix-FIF_BCN_PRBRESP_PROMISC-handling.patch:

--- NEW FILE linux-2.6-ath9k-Fix-FIF_BCN_PRBRESP_PROMISC-handling.patch ---
>From d05b54aa8e2770cb427f188536f8f449793acba9 Mon Sep 17 00:00:00 2001
From: Luis R. Rodriguez <lrodriguez at atheros.com>
Date: Mon, 4 May 2009 15:30:01 -0700
Subject: [PATCH] ath9k: Fix FIF_BCN_PRBRESP_PROMISC handling

This is a port of commit
91ed19f5f66a7fe544f0ec385e981f43491d1d5a

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...

Signed-off-by: Alina Friedrichsen <x-alina at gmx.net>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
Signed-off-by: Jouni Malinen <Jouni.Malinen at atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez at atheros.com>
---
 drivers/net/wireless/ath9k/main.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c
index 3c04044..1cc826b 100644
--- a/drivers/net/wireless/ath9k/main.c
+++ b/drivers/net/wireless/ath9k/main.c
@@ -2300,11 +2300,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)
-			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);
 }
 
-- 
1.6.2.2.446.gfbdc0



Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-11/kernel.spec,v
retrieving revision 1.1591
retrieving revision 1.1592
diff -u -p -r1.1591 -r1.1592
--- kernel.spec	6 May 2009 03:12:04 -0000	1.1591
+++ kernel.spec	6 May 2009 14:34:07 -0000	1.1592
@@ -666,6 +666,7 @@ Patch682: linux-2.6-ipw2x00-age-scan-res
 Patch683: linux-2.6-iwl3945-report-killswitch-changes-even-if-the-interface-is-down.patch
 Patch684: linux-2.6-iwlagn-fix-hw-rfkill-while-the-interface-is-down.patch
 Patch685: linux-2.6-mac80211-fix-beacon-loss-detection-after-scan.patch
+Patch686: linux-2.6-ath9k-Fix-FIF_BCN_PRBRESP_PROMISC-handling.patch
 
 Patch700: linux-2.6-dma-debug-fixes.patch
 
@@ -1311,6 +1312,9 @@ ApplyPatch linux-2.6-iwlagn-fix-hw-rfkil
 # back-port mac80211: fix beacon loss detection after scan
 ApplyPatch linux-2.6-mac80211-fix-beacon-loss-detection-after-scan.patch
 
+# back-port ath9k: Fix FIF_BCN_PRBRESP_PROMISC handling
+ApplyPatch linux-2.6-ath9k-Fix-FIF_BCN_PRBRESP_PROMISC-handling.patch
+
 # Fix up DMA debug code
 ApplyPatch linux-2.6-dma-debug-fixes.patch
 
@@ -1963,6 +1967,9 @@ fi
 # and build.
 
 %changelog
+* Wed May 06 2009 John W. Linville <linville at redhat.com> 2.6.29.2-130
+- back-port ath9k: Fix FIF_BCN_PRBRESP_PROMISC handling
+
 * Wed May 06 2009 Dave Airlie <airlied at redhat.com> 2.6.29.2-129
 - drm-next: update with latest patch queue for upstream + intel fixes
 - drm-modesetting-radeon.patch: rebase onto drm-next




More information about the scm-commits mailing list