diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-09-20 14:11:55 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-20 14:11:55 -0400 |
commit | 4d8b61490c14a36efdee4a8bf523e26809df05ac (patch) | |
tree | e8a37cac291bb64fa3d85ac27df45f56d493f2cb /net/mac80211 | |
parent | c9df56b48e4ff003eaebd680ec7a45342dcd03ea (diff) | |
parent | 8c23516fbb209ccf8f8c36268311c721faff29ee (diff) |
Merge branch 'master' of git://git.infradead.org/users/linville/wireless
Conflicts:
drivers/net/wireless/iwlwifi/iwl-pci.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
drivers/net/wireless/rt2x00/rt2800usb.c
drivers/net/wireless/wl12xx/main.c
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/main.c | 2 | ||||
-rw-r--r-- | net/mac80211/sta_info.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 104fdd9862bd..a5809a1a6239 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -1013,7 +1013,6 @@ void ieee80211_unregister_hw(struct ieee80211_hw *hw) | |||
1013 | cancel_work_sync(&local->reconfig_filter); | 1013 | cancel_work_sync(&local->reconfig_filter); |
1014 | 1014 | ||
1015 | ieee80211_clear_tx_pending(local); | 1015 | ieee80211_clear_tx_pending(local); |
1016 | sta_info_stop(local); | ||
1017 | rate_control_deinitialize(local); | 1016 | rate_control_deinitialize(local); |
1018 | 1017 | ||
1019 | if (skb_queue_len(&local->skb_queue) || | 1018 | if (skb_queue_len(&local->skb_queue) || |
@@ -1025,6 +1024,7 @@ void ieee80211_unregister_hw(struct ieee80211_hw *hw) | |||
1025 | 1024 | ||
1026 | destroy_workqueue(local->workqueue); | 1025 | destroy_workqueue(local->workqueue); |
1027 | wiphy_unregister(local->hw.wiphy); | 1026 | wiphy_unregister(local->hw.wiphy); |
1027 | sta_info_stop(local); | ||
1028 | ieee80211_wep_free(local); | 1028 | ieee80211_wep_free(local); |
1029 | ieee80211_led_exit(local); | 1029 | ieee80211_led_exit(local); |
1030 | kfree(local->int_scan_req); | 1030 | kfree(local->int_scan_req); |
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index 42c196e86115..c52e58c0a979 100644 --- a/net/mac80211/sta_info.c +++ b/net/mac80211/sta_info.c | |||
@@ -792,7 +792,7 @@ static int __must_check __sta_info_destroy(struct sta_info *sta) | |||
792 | BUG_ON(!sdata->bss); | 792 | BUG_ON(!sdata->bss); |
793 | 793 | ||
794 | atomic_dec(&sdata->bss->num_sta_ps); | 794 | atomic_dec(&sdata->bss->num_sta_ps); |
795 | __sta_info_clear_tim_bit(sdata->bss, sta); | 795 | sta_info_clear_tim_bit(sta); |
796 | } | 796 | } |
797 | 797 | ||
798 | local->num_sta--; | 798 | local->num_sta--; |