On Thu, Jul 30, 2009 at 8:32 AM, Johannes Berg<johannes@xxxxxxxxxxxxxxxx> wrote: > On Thu, 2009-07-30 at 07:54 -0700, Luis R. Rodriguez wrote: >> On Thu, Jul 30, 2009 at 12:43 AM, Johannes >> Berg<johannes@xxxxxxxxxxxxxxxx> wrote: >> > On Wed, 2009-07-29 at 17:46 -0700, Luis R. Rodriguez wrote: >> >> We change regulatory code to be protected by its own regulatory >> >> spinlock and alleviate cfg80211_mutex to only be used to protect >> >> cfg80211_rdev_list, the registered device list. >> >> >> >> By doing this we will be able to work on regulatory core components >> >> without having to have hog up the cfg80211_mutex. An example here is >> >> we no longer need to use the cfg80211_mutex during the country IE >> >> regulatory hint; by doing so we end up curing this new lockdep warning: >> > >> > This is ok with me, but be sure that it changes the API between drivers >> > and cfg80211 -- the reg notifier can no longer sleep now. >> >> We could use a mutex as well. > > Right. I don't care, just wanted you to be aware of the change. I don't > expect many drivers to really use the reg notifier stuff so if it > doesn't matter for ath.ko it probably just doesn't matter. Yeah understood, I'll still respin with a mutex. Luis -- 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