From: John W. Linville Date: Tue, 16 Mar 2010 19:40:59 +0000 (-0400) Subject: wireless: convert reg_regdb_search_lock to mutex X-Git-Tag: v2.6.34-rc4~64^2~16^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=368d06f5b0eefcbf37d677d3b65381310a251f03;p=pandora-kernel.git wireless: convert reg_regdb_search_lock to mutex Stanse discovered that kmalloc is being called with GFP_KERNEL while holding this spinlock. The spinlock can be a mutex instead, which also enables the removal of the unlock/lock around the lock/unlock of cfg80211_mutex and the call to set_regdom. Reported-by: Jiri Slaby Cc: stable@kernel.org Signed-off-by: John W. Linville --- Reading git-diff-tree failed