linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
	John W Linville <linville@tuxdriver.com>
Subject: Re: WARNING from net/wireless/mlme.c
Date: Tue, 05 Mar 2013 13:43:33 -0600	[thread overview]
Message-ID: <51364AE5.70908@lwfinger.net> (raw)
In-Reply-To: <1362511955.638.3.camel@jlt4.sipsolutions.net>

On 03/05/2013 01:32 PM, Johannes Berg wrote:
> Hi Larry,
>
>> With 3.9-rc1 from wireless-testing, I get a warning from the line
>>           if (WARN(!wdev->current_bss, "sme_state=%d\n", wdev->sme_state))
>>
>> [ 4250.226882] ------------[ cut here ]------------
>> [ 4250.226929] WARNING: at net/wireless/mlme.c:517
>> cfg80211_mlme_disassoc+0x192/0x3a0 [cfg80211]()
>> [ 4250.226933] Hardware name: HP Pavilion dv2700 Notebook PC
>> [ 4250.226936] sme_state=2
>
> Heh, adding the sme_state=2 there was stupid of me ... there's an if
> right in front. Oh well.
>
> Anyway, can you reproduce this? I looked at the code for the umpteenth
> time and can't really find it. Capturing cfg80211 tracing might be
> helpful.

I'll turn on cfg80211 debugging and let you know when it happens again.

Larry



      reply	other threads:[~2013-03-05 19:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-05  4:13 WARNING from net/wireless/mlme.c Larry Finger
2013-03-05 19:32 ` Johannes Berg
2013-03-05 19:43   ` Larry Finger [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=51364AE5.70908@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=johannes@sipsolutions.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).