From: Johannes Berg Date: Thu, 26 Aug 2010 11:30:26 +0000 (+0200) Subject: mac80211: allow scan to complete from any context X-Git-Tag: v2.6.37-rc1~147^2~584^2^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8789d459bc5e837bf37d261453df96ef54018d7b;p=pandora-kernel.git mac80211: allow scan to complete from any context The ieee80211_scan_completed() function was a frequent source of potential deadlocks, since it is called by drivers but may call back into drivers, so drivers had to make sure to call it without any locks held, which frequently lead to more complex code in drivers. Avoid that problem by allowing the function to be called in any context, and queueing the actual work it does. Also update the documentation for it to indicate this. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed