Commit 51583248 authored by Stanislaw Gruszka's avatar Stanislaw Gruszka Committed by Kalle Valo
Browse files

rt2x00: do not flush empty queue

parent 17012216
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -743,6 +743,7 @@ void rt2x00mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
		return;

	tx_queue_for_each(rt2x00dev, queue)
		if (!rt2x00queue_empty(queue))
			rt2x00queue_flush_queue(queue, drop);
}
EXPORT_SYMBOL_GPL(rt2x00mac_flush);