diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-01-05 16:06:25 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-05 16:06:25 -0500 |
commit | c96e96354a6c9456cdf1f150eca504e2ea35301e (patch) | |
tree | 751bec601fb8152116b8e31e0f1f83d687a37d6f /net/mac80211/main.c | |
parent | dbbe68bb12b34f3e450da7a73c20e6fa1f85d63a (diff) | |
parent | 33af88138b859f515b365a074e0a014d7cdbf846 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts:
net/bluetooth/Makefile
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index bbe8e0ac6e52..4b088b3c25e8 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -569,6 +569,8 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len, | |||
569 | spin_lock_init(&local->filter_lock); | 569 | spin_lock_init(&local->filter_lock); |
570 | spin_lock_init(&local->queue_stop_reason_lock); | 570 | spin_lock_init(&local->queue_stop_reason_lock); |
571 | 571 | ||
572 | skb_queue_head_init(&local->rx_skb_queue); | ||
573 | |||
572 | INIT_DELAYED_WORK(&local->scan_work, ieee80211_scan_work); | 574 | INIT_DELAYED_WORK(&local->scan_work, ieee80211_scan_work); |
573 | 575 | ||
574 | ieee80211_work_init(local); | 576 | ieee80211_work_init(local); |
@@ -914,6 +916,7 @@ void ieee80211_unregister_hw(struct ieee80211_hw *hw) | |||
914 | wiphy_warn(local->hw.wiphy, "skb_queue not empty\n"); | 916 | wiphy_warn(local->hw.wiphy, "skb_queue not empty\n"); |
915 | skb_queue_purge(&local->skb_queue); | 917 | skb_queue_purge(&local->skb_queue); |
916 | skb_queue_purge(&local->skb_queue_unreliable); | 918 | skb_queue_purge(&local->skb_queue_unreliable); |
919 | skb_queue_purge(&local->rx_skb_queue); | ||
917 | 920 | ||
918 | destroy_workqueue(local->workqueue); | 921 | destroy_workqueue(local->workqueue); |
919 | wiphy_unregister(local->hw.wiphy); | 922 | wiphy_unregister(local->hw.wiphy); |