diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-09-06 12:47:39 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-13 20:18:38 +0200 |
commit | 4bae7d976976fa52d345805ba686934cd548343e (patch) | |
tree | 506f76621e94c4505b4ee018c920cd74ed2bb314 /drivers/input | |
parent | rtlwifi: Fix problem when switching connections (diff) | |
download | linux-4bae7d976976fa52d345805ba686934cd548343e.tar.xz linux-4bae7d976976fa52d345805ba686934cd548343e.zip |
mac80211: fix missing sta_lock in __sta_info_destroy
Since my commit 34e895075e21be3e21e71d6317440d1ee7969ad0
("mac80211: allow station add/remove to sleep") there is
a race in mac80211 when it clears the TIM bit because a
sleeping station disconnected, the spinlock isn't held
around the relevant code any more. Use the right API to
acquire the spinlock correctly.
Cc: stable@kernel.org [2.6.34+]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions