linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jouni Malinen <j@w1.fi>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: mac80211_hwsim - simulator of 802.11 radios for mac80211
Date: Tue, 10 Jun 2008 19:31:07 +0300	[thread overview]
Message-ID: <20080610163106.GA5675@jm.kir.nu> (raw)
In-Reply-To: <1213110681.3668.30.camel@johannes.berg>

On Tue, Jun 10, 2008 at 05:11:21PM +0200, Johannes Berg wrote:

> Hmm. I suspect you called rx_irqsafe _after_ the radio was stopped (via
> mac80211's stop callback), and at stop time we also disable the tasklet,
> so something probably goes haywire if you tasklet_schedule a disabled
> tasklet.

Yes, that caused it. I added a new flag based on start/stop for
determining which interface are ready to accept new frames. I was
already doing this based on radio_enabled flag, but apparently that is
left set when setting the interface down.

-- 
Jouni Malinen                                            PGP id EFC895FA

  reply	other threads:[~2008-06-10 16:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-10 10:50 mac80211_hwsim - simulator of 802.11 radios for mac80211 Jouni Malinen
2008-06-10 11:16 ` Johannes Berg
2008-06-10 12:30   ` John W. Linville
2008-06-10 13:11     ` Johannes Berg
2008-06-10 15:24       ` John W. Linville
2008-06-10 18:37         ` [PATCH RFC] mac80211_hwsim Jouni Malinen
2008-06-10 19:00           ` Johannes Berg
2008-06-11  6:57             ` Jouni Malinen
2008-06-11 12:07               ` Johannes Berg
2008-06-11 12:54                 ` Tomas Winkler
2008-06-10 12:47   ` mac80211_hwsim - simulator of 802.11 radios for mac80211 Jouni Malinen
2008-06-10 13:09     ` Johannes Berg
2008-06-10 13:12       ` Johannes Berg
2008-06-10 15:02       ` Jouni Malinen
2008-06-10 15:11         ` Johannes Berg
2008-06-10 16:31           ` Jouni Malinen [this message]
2008-06-10 14:22 ` Dan Williams

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=20080610163106.GA5675@jm.kir.nu \
    --to=j@w1.fi \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /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).