]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit1601b1e56e1093d6deb8f475fafc30cc30143357
tree523921224fe15ad2abc647edb830c438c688644e
parent02f5ba5bac8b374bc2126920c7204c63019f28ce
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