Linux wireless drivers development
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: John Linville <linville@tuxdriver.com>,
	wireless <linux-wireless@vger.kernel.org>
Subject: Re: WARNING: at net/mac80211/iface.c:162
Date: Mon, 07 May 2012 09:30:02 -0500	[thread overview]
Message-ID: <4FA7DC6A.8030600@lwfinger.net> (raw)
In-Reply-To: <1336372450.4325.0.camel@jlt3.sipsolutions.net>

On 05/07/2012 01:34 AM, Johannes Berg wrote:
> On Sun, 2012-05-06 at 18:30 -0500, Larry Finger wrote:
>> Hi,
>>
>> I am getting the following warning from the latest wireless-testing system:
>>
>>    ------------[ cut here ]------------
>>    WARNING: at net/mac80211/iface.c:162 ieee80211_check_queues+0x119/0x130
>> [mac80211]()
>
>
>>        if (WARN_ON_ONCE(sdata->vif.hw_queue[i]>= n_queues))
>>
>> The warning is triggered for i, n_queues, and sdata->vif.hw_queue[i] all equal to 1.
>
> Is this a driver with just a single queue by any chance? I never tested
> that and probably forgot to set those up correctly.

Yes, the device has only one hardware queue. Is this something the driver needs 
to do?

Larry


      parent reply	other threads:[~2012-05-07 14:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-06 23:30 WARNING: at net/mac80211/iface.c:162 Larry Finger
2012-05-07  6:34 ` Johannes Berg
2012-05-07  7:55   ` Arend van Spriel
2012-05-07 11:29     ` Johannes Berg
2012-05-07 15:12       ` Larry Finger
2012-05-07 15:45         ` Johannes Berg
2012-05-07 14:30   ` 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=4FA7DC6A.8030600@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