From: Michael Buesch <mb@bu3sch.de>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: John Linville <linville@tuxdriver.com>,
Bcm43xx-dev@lists.berlios.de, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] bcm43xx-mac80211: Fix regression in interrupt handling
Date: Mon, 6 Aug 2007 14:10:40 +0200 [thread overview]
Message-ID: <200708061410.40506.mb@bu3sch.de> (raw)
In-Reply-To: <46b68ec8.nObKM6TauxkzJMGV%Larry.Finger@lwfinger.net>
On Monday 06 August 2007, Larry Finger wrote:
> Since commit 85a83d26697dd2203ac4e5f33022951f2c3e6e33, "bcm43xx-mac80211:
> Rewrite and simplify handling of the initialization status", some PCI
> adapters have problems due to interrupts happening before the device status
> reaches BCM43xx_STARTED. This patch delays the initial interrupt enable until
> after the device status is set.
>
> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
> ---
>
> John,
>
> This patch fixes a regression since 2.6.23-rc1. Michael and I have discussed this
> and he has agreed that this is the proper fix.
>
> Larry
>
> bcm43xx_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: wireless-dev/drivers/net/wireless/bcm43xx-mac80211/bcm43xx_main.c
> ===================================================================
> --- wireless-dev.orig/drivers/net/wireless/bcm43xx-mac80211/bcm43xx_main.c
> +++ wireless-dev/drivers/net/wireless/bcm43xx-mac80211/bcm43xx_main.c
> @@ -3014,13 +3014,13 @@ static int bcm43xx_wireless_core_start(s
> dev->dev->irq);
> goto out;
> }
> - bcm43xx_interrupt_enable(dev, dev->irq_savedstate);
> bcm43xx_mac_enable(dev);
>
> bcm43xx_periodic_tasks_setup(dev);
>
> ieee80211_start_queues(dev->wl->hw);
> bcm43xx_set_status(dev, BCM43xx_STAT_STARTED);
> + bcm43xx_interrupt_enable(dev, dev->irq_savedstate);
> bcmdbg(dev->wl, "Wireless interface started\n");
> out:
> return err;
Queued into my patch series, thanks.
prev parent reply other threads:[~2007-08-06 12:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-06 3:00 [PATCH] bcm43xx-mac80211: Fix regression in interrupt handling Larry Finger
2007-08-06 12:10 ` Michael Buesch [this message]
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=200708061410.40506.mb@bu3sch.de \
--to=mb@bu3sch.de \
--cc=Bcm43xx-dev@lists.berlios.de \
--cc=Larry.Finger@lwfinger.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).