On 2012-09-13 10:55 PM, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" <mcgrof@xxxxxxxxxxxxxxxx> > > When call_crda() is called we kick off a witch hunt search > for the same regulatory domain on our internal regulatory > database and that work gets kicked off on a workqueue, this > is done while the cfg80211_mutex is held. If that workqueue > kicks off it will first lock reg_regdb_search_mutex and > later cfg80211_mutex but to ensure two CPUs will not contend > against cfg80211_mutex the right thing to do is to have the > reg_regdb_search() wait until the cfg80211_mutex is let go. Tested-by: Felix Fietkau <nbd@xxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html