From: Larry Finger Date: Mon, 31 Jul 2006 18:20:44 +0000 (-0400) Subject: [PATCH] bcm43xx: add missing mac_suspended initialization X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=894b62748bec22a98e636ed40221b27d1b9094b7;p=linux-beck.git [PATCH] bcm43xx: add missing mac_suspended initialization Fix-up missing mac_suspended initialization which resulted from Linville's sloppy patch mangling. Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c index 24d531eb00fa..628e5fe3385d 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c @@ -3962,6 +3962,7 @@ static int bcm43xx_init_private(struct bcm43xx_private *bcm, bcm->softmac->set_channel = bcm43xx_ieee80211_set_chan; 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;