wl1251: fix deadlock with ieee80211 beacon filter calls
authorYuri Ershov <ext-yuri.ershov@nokia.com>
Wed, 27 Oct 2010 10:47:25 +0000 (14:47 +0400)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 17 Jan 2011 17:19:43 +0000 (19:19 +0200)
commit09607d835554c63a1cc964eda893699fdc0a0d80
tree1c3e75f552e3b2a65c91df51c21e60625fe403be
parentd4eb1db8f34ff57d07a6e506fac54f8bb27367ec
wl1251: fix deadlock with ieee80211 beacon filter calls

Lockdep shows that there is a deadlock when calling ieee80211_rssi_changed()
under wl->mutex. Fix it by releasing mutex before calling mac80211 functions.
This patch is based on Work-In-Progress patch sent by Kalle Valo.

Signed-off-by: Vidhya Govindan <vidhya.govindan@nokia.com>
Signed-off-by: Yuri Ershov <ext-yuri.ershov@nokia.com>
drivers/net/wireless/wl12xx/wl1251_event.c