commit | 7b99a7c2dab7efe7c265b66fedbf3444958ebfe3 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Oct 07 12:55:24 2010 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Oct 07 14:41:27 2010 -0400 |
tree | d45093d306d686d4cb0cdc391c6895f372b20495 | |
parent | 4b34d432b0fcff422304de4eb49d6da861fe335c [diff] |
mac80211: fix sw scan locking The recent scan overhaul broke locking because now we can jump to code that attempts to unlock, while we don't have the mutex held. Fix this by holding the mutex around all the relevant code. Reported-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>