Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mac80211: fix missing sta_lock in __sta_info_destroy
Since my commit 34e8950 ("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>
- Loading branch information