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>
Sat, 5 Mar 2011 21:18:01 +0000 (23:18 +0200)
commit4cdc544bf8311e0b90bf3d3f5ae80be44e34c8c2
tree1af80409cfe38ac59ff19719b45c320f9d24a9ac
parenta9f5f37530ee48e131427495a82c531ed403542a
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