This fixes mac_suspend reference counting for ifconfig up ifconfig down ifconfig up
Signed-off-by: Michael Buesch <[EMAIL PROTECTED]> Index: wireless-dev/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c =================================================================== --- wireless-dev.orig/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c 2006-06-17 22:51:20.000000000 +0200 +++ wireless-dev/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c 2006-06-28 20:37:15.000000000 +0200 @@ -3756,6 +3756,8 @@ bcm43xx_lock_noirq(bcm); bcm43xx_set_status(bcm, BCM43xx_STAT_INITIALIZING); + bcm->mac_suspended = 1; + err = bcm43xx_pctl_set_crystal(bcm, 1); if (err) goto out; @@ -4383,7 +4385,6 @@ bcm->ieee = ieee; bcm->irq_savedstate = BCM43xx_IRQ_INITIAL; - bcm->mac_suspended = 1; bcm->pci_dev = pci_dev; bcm->net_dev = net_dev; bcm->bad_frames_preempt = modparam_bad_frames_preempt; -- Greetings Michael. - 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