John,
Please apply this to wireless-2.6.
Michael - bcm43xx-d80211 probably needs this as well.
Larry
---------------------------------------------------
When bcm43xx-softmac is given an ifdown/ifup sequence, the value for bcm->mac_suspended ends up
wrong, which leads to a large number of assert(bcm->mac_suspended>=0) messages. This one-line patch
fixes this problem.
Signed-Off-By: Larry Finger <[EMAIL PROTECTED]>
index b095f3c..f532f3c 100644
--- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c
+++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c
@@ -3484,6 +3484,7 @@ int bcm43xx_select_wireless_core(struct
bcm43xx_macfilter_clear(bcm, BCM43xx_MACFILTER_ASSOC);
bcm43xx_macfilter_set(bcm, BCM43xx_MACFILTER_SELF, (u8
*)(bcm->net_dev->dev_addr));
bcm43xx_security_init(bcm);
+ bcm->mac_suspended = 1;
ieee80211softmac_start(bcm->net_dev);
/* Let's go! Be careful after enabling the IRQs.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html