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>
Sun, 31 Oct 2010 20:10:33 +0000 (22:10 +0200)
commit7ff66176af4c7d984ea04f5fa1ccc3a85b26dbcf
treefd9a2ed8f90aa412796dd31da1bfe29d7a7119f3
parent5e88816d2084c8d829eb32db3754923b41535866
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