diff options
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index dd8ec8d5e8b2..8116d1a96a4a 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -631,8 +631,8 @@ void ieee80211_unregister_hw(struct ieee80211_hw *hw) | |||
631 | sta_info_stop(local); | 631 | sta_info_stop(local); |
632 | rate_control_deinitialize(local); | 632 | rate_control_deinitialize(local); |
633 | 633 | ||
634 | if (skb_queue_len(&local->skb_queue) | 634 | if (skb_queue_len(&local->skb_queue) || |
635 | || skb_queue_len(&local->skb_queue_unreliable)) | 635 | skb_queue_len(&local->skb_queue_unreliable)) |
636 | printk(KERN_WARNING "%s: skb_queue not empty\n", | 636 | printk(KERN_WARNING "%s: skb_queue not empty\n", |
637 | wiphy_name(local->hw.wiphy)); | 637 | wiphy_name(local->hw.wiphy)); |
638 | skb_queue_purge(&local->skb_queue); | 638 | skb_queue_purge(&local->skb_queue); |