Johannes Berg notes mac80211 drivers which use
ieee80211_queue_stopped() really only want to know if they
previously requested a queue stop.
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
                return true;
 
        spin_lock_irqsave(&local->queue_stop_reason_lock, flags);
-       ret = !!local->queue_stop_reasons[queue];
+       ret = test_bit(IEEE80211_QUEUE_STOP_REASON_DRIVER,
+                      &local->queue_stop_reasons[queue]);
        spin_unlock_irqrestore(&local->queue_stop_reason_lock, flags);
        return ret;
 }