From: Johannes Berg <johannes.berg@xxxxxxxxx> There's no need to unlock before calling queue_regulatory_request(), so simplify the function. Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- net/wireless/reg.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/net/wireless/reg.c b/net/wireless/reg.c index dc46106..c5145c0 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -1834,12 +1834,7 @@ void regulatory_hint_11d(struct wiphy *wiphy, request->initiator = NL80211_REGDOM_SET_BY_COUNTRY_IE; request->country_ie_env = env; - mutex_unlock(®_mutex); - queue_regulatory_request(request); - - return; - out: mutex_unlock(®_mutex); } -- 1.8.0 -- 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