mac80211: fix stopping RX BA session from timer
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 19 Apr 2010 09:00:24 +0000 (11:00 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 19 Apr 2010 20:41:42 +0000 (16:41 -0400)
commit2aab4c273ad837fbcf2955aee32b9ec4706c2521
treed2457aa623177d2b7c18b35a81f91ac268699999
parent93d95b12b3ba06e0e1f3e43a370ee61539d8cb90
mac80211: fix stopping RX BA session from timer

Kalle reported that his system deadlocks since my
recent work in this area. The reason quickly became
apparent: we try to cancel_timer_sync() a timer
from within itself. Fix that by making the function
aware of the context it is called from.

Reported-by: Kalle Valo <kvalo@adurom.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Tested-by: Kalle Valo <kvalo@adurom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/agg-rx.c