]> 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)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Oct 2010 17:35:23 +0000 (13:35 -0400)
commit2234362c427e2ef667595b9b81c0125003ac5607
treea3cef2721184bd61bc058b299957c0fd2119db68
parentb1ae1edf9e9872d3aa657cc34ae40c9aadfbc72f
cfg80211: fix locking

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

Cc: stable@kernel.org [2.6.35+]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c