]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix scan locking wrt. hw scan
authorJohannes Berg <johannes.berg@intel.com>
Fri, 30 Jul 2010 11:30:47 +0000 (13:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Aug 2010 19:27:36 +0000 (15:27 -0400)
commit77c821e5902adaf4a5e12a34df448b096dc5758b
tree523921224fe15ad2abc647edb830c438c688644e
parent7fb4d20b217b58606fd0d2b5fcdcd874dfd2a1aa
mac80211: fix scan locking wrt. hw scan

Releasing the scan mutex while starting scans
can lead to unexpected things happening, so
we shouldn't do that. Fix that and hold the
mutex across the scan triggering.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/scan.c