From: Mohammed Shafi Shajakhan Date: Wed, 18 Jul 2012 12:41:29 +0000 (+0530) Subject: cfg80211: Fix mutex locking in reg_last_request_cell_base X-Git-Tag: v3.6-rc1~125^2~57^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebd0fd2b1a30aa836c28e758d8a57ecdfa85052f;p=pandora-kernel.git cfg80211: Fix mutex locking in reg_last_request_cell_base should fix the following issue [ 3229.815012] [ BUG: lock held when returning to user space! ] [ 3229.815016] 3.5.0-rc7-wl #28 Tainted: G W O [ 3229.815017] ------------------------------------------------ [ 3229.815019] wpa_supplicant/5783 is leaving the kernel with locks still held! [ 3229.815022] 1 lock held by wpa_supplicant/5783: [ 3229.815023] #0: (reg_mutex){+.+.+.}, at: [] reg_last_request_cell_base+0x1d/0x60 [cfg80211] Cc: Luis Rodriguez Signed-off-by: Mohammed Shafi Shajakhan Tested-by: Luciano Coelho Signed-off-by: Johannes Berg --- Reading git-diff-tree failed