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 stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to