|
@@ -1774,10 +1774,8 @@ void regulatory_hint_11d(struct wiphy *wiphy,
|
|
|
|
|
|
mutex_lock(&cfg80211_mutex);
|
|
|
|
|
|
- if (unlikely(!last_request)) {
|
|
|
- mutex_unlock(&cfg80211_mutex);
|
|
|
- return;
|
|
|
- }
|
|
|
+ if (unlikely(!last_request))
|
|
|
+ goto out;
|
|
|
|
|
|
/* IE len must be evenly divisible by 2 */
|
|
|
if (country_ie_len & 0x01)
|