From: Michael Buesch <mb@bu3sch•de>
To: linville@tuxdriver•com
Cc: bcm43xx-dev@lists•berlios.de, netdev@vger•kernel.org
Subject: [PATCH] bcm43xx: fix mac_suspend refcount
Date: Wed, 28 Jun 2006 20:35:17 +0200 [thread overview]
Message-ID: <200606282035.17736.mb@bu3sch.de> (raw)
This fixes mac_suspend reference counting for
ifconfig up
ifconfig down
ifconfig up
Signed-off-by: Michael Buesch <mb@bu3sch•de>
Index: wireless-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c
===================================================================
--- wireless-2.6.orig/drivers/net/wireless/bcm43xx/bcm43xx_main.c 2006-06-28 20:12:03.000000000 +0200
+++ wireless-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c 2006-06-28 20:31:22.000000000 +0200
@@ -3288,6 +3288,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;
@@ -3793,7 +3795,6 @@
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;
--
Greetings Michael.
reply other threads:[~2006-06-28 18:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200606282035.17736.mb@bu3sch.de \
--to=mb@bu3sch$(echo .)de \
--cc=bcm43xx-dev@lists$(echo .)berlios.de \
--cc=linville@tuxdriver$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox