[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1311627547.13973.2.camel@wwguy-ubuntu>
Date: Mon, 25 Jul 2011 13:59:07 -0700
From: wwguy <wey-yi.w.guy@...el.com>
To: Keith Packard <keithp@...thp.com>
Cc: Intel Linux Wireless <ilw@...ux.intel.com>,
"linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] iwlagn: check for !priv->txq in
iwlagn_wait_tx_queue_empty
On Mon, 2011-07-25 at 13:03 -0700, Keith Packard wrote:
> On Mon, 25 Jul 2011 12:21:55 -0700, "Guy, Wey-Yi" <wey-yi.w.guy@...el.com> wrote:
>
> > but why you need it?, "start device" call will fail if can not allocate
> > priv->txq
>
> The device is down, so start_device was never called. At least, that's
> my assumption -- I've got the wireless device 'disabled' in
> NetworkManager.
>
the iwlagn_wait_tx_queue_empty() function only can be call from either
"flush" operation or from debugfs. I agree it is a problem if call from
debugfs. did you actually see the problem when it is not from debugfs().
there is a recent patch in mac80211 to make sure do not call "flush" is
not needed.
Thanks
Wey
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists