]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cfg80211: fix locking
authorJohannes Berg <johannes.berg@intel.com>
Thu, 30 Sep 2010 20:17:43 +0000 (22:17 +0200)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:00 +0000 (23:40 +0100)
commitb4c656d2584875fc74bbda31687eeac9dbb03d41
treedd49835d08a6a3168d751db692abe1719eae66df
parent8c344624d82e34d805d9250b942158f652e9ac75
cfg80211: fix locking

commit 2234362c427e2ef667595b9b81c0125003ac5607 upstream.

Add missing unlocking of the wiphy in set_channel,
and don't try to unlock a non-existing wiphy in
set_cqm.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
net/wireless/nl80211.c