]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: remove unneeded locking
authorJohannes Berg <johannes.berg@intel.com>
Thu, 26 Aug 2010 11:30:27 +0000 (13:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Aug 2010 17:27:06 +0000 (13:27 -0400)
commit8219ed1fa722353f98cb0048f76eea645a0a5ca2
tree24b4075547c3e850d2c3b1847adc61b32d8b68d1
parent3e0ba361451935ead11c24cdc8ca38ee36c77186
wl12xx: remove unneeded locking

With the scan callback now being callable from
any context, these unlocks/locks can go away.
This makes the code easier to understand, since
callers of these functions must no longer be
aware that the mutex may be dropped.

As Stanislaw is working on iwlwifi scanning, I
didn't change it to take advantage of the new
mac80211 semantics.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_event.c
drivers/net/wireless/wl12xx/wl1251_main.c
drivers/net/wireless/wl12xx/wl1271_main.c
drivers/net/wireless/wl12xx/wl1271_scan.c