linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: henk <henk@god.dyndns.org>
To: Bob Copeland <me@bobcopeland.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: ath5k in AP mode works!! (but sometimes with an oops, and a panic)
Date: Sat, 30 May 2009 00:02:22 +0200	[thread overview]
Message-ID: <20090529220222.GA22246@god.dyndns.org> (raw)
In-Reply-To: <20090528234702.GA9455@hash.localnet>

On Thu, May 28, 2009 at 07:47:02PM -0400, Bob Copeland wrote:
> On Wed, May 27, 2009 at 08:49:56PM +0200, henk wrote:
> > 
> > I added some extra checks in ath5k/base.c
> > see http://bugzilla.kernel.org/show_bug.cgi?id=13381#c3
> > 
> > This resolves the panic for now.
> 
> Can you try this patch?  It should reduce to a warning if there is
> still a bug but hopefully you won't see the warning.  
> 
Sure now compiling 

...
> +
>  /*
>   * Transmit a beacon frame at SWBA.  Dynamic updates to the
>   * frame contents are done as needed and the slot time is
> @@ -2758,6 +2765,7 @@ ath5k_remove_interface(struct ieee80211_hw *hw,
>  
>  	ath5k_hw_set_lladdr(sc->ah, mac);
>  	sc->vif = NULL;
> +	ath5k_beacon_disable(sc);

Wouldn't it be better to reverse the deinitialisation? To make sure we
dont hit an interrupt in between? Like:

	ath5k_beacon_disable(sc);
	ec->vif = NULL;

Cheers
Henk

  reply	other threads:[~2009-05-29 22:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-24 22:20 ath5k in AP mode works!! (but sometimes with an oops, and a panic) henk
2009-05-27 12:50 ` Bob Copeland
2009-05-27 17:43   ` henk
2009-05-27 18:49   ` henk
2009-05-28 23:47     ` Bob Copeland
2009-05-29 22:02       ` henk [this message]
2009-05-30  1:06         ` Bob Copeland
2009-06-01 22:22           ` henk

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=20090529220222.GA22246@god.dyndns.org \
    --to=henk@god.dyndns.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=me@bobcopeland.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).