From: Johannes Berg Date: Thu, 7 Oct 2010 10:55:24 +0000 (+0200) Subject: mac80211: fix sw scan locking X-Git-Tag: v2.6.37-rc1~147^2~191^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b99a7c2dab7efe7c265b66fedbf3444958ebfe3;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed