mac80211: Fix bug in computing crc over dynamic IEs in beacon
[safe/jmp/linux-2.6] / net / mac80211 / main.c
index dd8ec8d..8116d1a 100644 (file)
@@ -631,8 +631,8 @@ void ieee80211_unregister_hw(struct ieee80211_hw *hw)
        sta_info_stop(local);
        rate_control_deinitialize(local);
 
-       if (skb_queue_len(&local->skb_queue)
-                       || skb_queue_len(&local->skb_queue_unreliable))
+       if (skb_queue_len(&local->skb_queue) ||
+           skb_queue_len(&local->skb_queue_unreliable))
                printk(KERN_WARNING "%s: skb_queue not empty\n",
                       wiphy_name(local->hw.wiphy));
        skb_queue_purge(&local->skb_queue);