linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Larry Finger <Larry.Finger@lwfinger.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 20:32:35 +0100	[thread overview]
Message-ID: <1362511955.638.3.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <513570D0.4070302@lwfinger.net> (sfid-20130305_051310_497727_E0519ADC)

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.

johannes


  reply	other threads:[~2013-03-05 19:32 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 [this message]
2013-03-05 19:43   ` Larry Finger

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=1362511955.638.3.camel@jlt4.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --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).