Search Linux Wireless

Re: [PATCH 2/2] brcmsmac: rework of mac80211 .flush() callback operation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/05/2012 12:20 PM, Stanislaw Gruszka wrote:
On Wed, Sep 05, 2012 at 11:49:22AM +0200, Arend van Spriel wrote:
+	ret = wait_event_timeout(wl->tx_flush_wq,
+				 brcms_tx_flush_completed(wl),
+				 msecs_to_jiffies(BRCMS_FLUSH_TIMEOUT));
+
+	ieee80211_wake_queues(hw);
+	WARN_ON(!ret);
Any particular reason why this WARN_ON is after ieee80211_wake_queues() ?


The wait has a timeout so the warning indicates flush did not complete as in the old implementation. Maybe a WARN_ON_ONCE() would be better, but I have not observed the warning yet.

Gr. AvS


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux