On Mon, Nov 28, 2011 at 4:31 PM, Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxxxxx> wrote: > @@ -1823,6 +1837,10 @@ static void restore_regulatory_settings(bool reset_user) > /* First restore to the basic regulatory settings */ > cfg80211_regdomain = cfg80211_world_regdom; > > + if (last_request != &core_request_world) > + kfree(last_request); > + last_request = &core_request_world; > + > mutex_unlock(®_mutex); > mutex_unlock(&cfg80211_mutex); > This hunk is redundant given that we call reset_regdomains() above, will send a v3.. 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