All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jouni Malinen <j@w1.fi>
To: ASIC Felix <ic.felix@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Is this normal: ath9k: Two wiphys trying to scan at the same time
Date: Sat, 26 Sep 2009 22:09:21 +0300	[thread overview]
Message-ID: <20090926190921.GA22838@jm.kir.nu> (raw)
In-Reply-To: <1253825462.19221.14.camel@darkslate>

On Thu, Sep 24, 2009 at 01:51:02PM -0700, ASIC Felix wrote:

> is this normal:
> 
>   ath9k: Two wiphys trying to scan at the same time
> 
> afaik, I did not enable virtual phy stuff. Connection appears to be
> working okay. I've been seeing this for quite some time.

That should only be showing up if virtual wiphys are used. In this case,
it should not really be showing up and is likely indicating a bug
somewhere (ath9k or mac80211). I don't know how to reproduce this
easily, so I have not looked into more details yet. It would be
interesting to add printk calls into ath9k_sw_scan_start() and
ath9k_sw_scan_complete() just after the mutex_lock() call to figure out
whether mac80211 ends up calling sw_scan_start() driver handler twice in
a row which would be one possible way to get this triggered. The other
way to hit this would be if ath9k were to somehow not update aphy->state
correctly when the scan has been completed.

-- 
Jouni Malinen                                            PGP id EFC895FA

      reply	other threads:[~2009-09-26 19:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-24 20:51 Is this normal: ath9k: Two wiphys trying to scan at the same time ASIC Felix
2009-09-26 19:09 ` Jouni Malinen [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=20090926190921.GA22838@jm.kir.nu \
    --to=j@w1.fi \
    --cc=ic.felix@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.