rpms/kernel/devel linux-2.6-bcm43xx-set-chan-lockup.patch,NONE,1.1

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Mar 24 11:09:56 UTC 2006


Author: dwmw2

Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31987

Added Files:
	linux-2.6-bcm43xx-set-chan-lockup.patch 
Log Message:
with the patch too

linux-2.6-bcm43xx-set-chan-lockup.patch:
 bcm43xx_main.c |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

--- NEW FILE linux-2.6-bcm43xx-set-chan-lockup.patch ---
--- linux-2.6.16.ppc/drivers/net/wireless/bcm43xx/bcm43xx_main.c~	2006-03-22 16:52:18.000000000 +0000
+++ linux-2.6.16.ppc/drivers/net/wireless/bcm43xx/bcm43xx_main.c	2006-03-24 10:57:53.000000000 +0000
@@ -3937,9 +3937,13 @@ static void bcm43xx_ieee80211_set_chan(s
 	unsigned long flags;
 
 	spin_lock_irqsave(&bcm->lock, flags);
-	bcm43xx_mac_suspend(bcm);
-	bcm43xx_radio_selectchannel(bcm, channel, 0);
-	bcm43xx_mac_enable(bcm);
+	if (likely(bcm->initialized)) {
+		    bcm43xx_mac_suspend(bcm);
+		    bcm43xx_radio_selectchannel(bcm, channel, 0);
+		    bcm43xx_mac_enable(bcm);
+	} else {
+		bcm->current_core->radio->initial_channel = channel;
+	}
 	spin_unlock_irqrestore(&bcm->lock, flags);
 }
 




More information about the fedora-cvs-commits mailing list