summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-09-06 12:47:39 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-03 11:40:28 -0700
commite74aa3593a0026ea78b3997c3b7748f536e17f66 (patch)
treed709f7031fb2eae91eefa79552cb6dbf87f0dad6 /drivers/pci
parent377a4a241c44d46335b45e00c8a66d39b072fd2f (diff)
mac80211: fix missing sta_lock in __sta_info_destroy
commit 4bae7d976976fa52d345805ba686934cd548343e upstream. 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. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions