| commit | 2171abc58644e09dbba546d91366b12743115396 | [log] [tgz] |
|---|---|---|
| author | Johannes Berg <johannes@sipsolutions.net> | Thu Oct 29 08:34:00 2009 +0100 |
| committer | John W. Linville <linville@tuxdriver.com> | Fri Oct 30 15:50:25 2009 -0400 |
| tree | b4b75fad9bb425034f71cf995586dd4898c93c2f | |
| parent | e55ea2b152569f09ef6bb28d5a341a4e5a21f5ce [diff] |
mac80211: fix addba timer The addba timer function acquires the sta spinlock, but at the same time we try to del_timer_sync() it under the spinlock which can produce deadlocks. To fix this, always del_timer_sync() the timer in ieee80211_process_addba_resp() and add it again after checking the conditions, if necessary. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>