projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
056508d
)
cfg80211: use goto out on country IE reg hint failure
author
Luis R. Rodriguez
<lrodriguez@atheros.com>
Fri, 31 Jul 2009 00:38:06 +0000
(17:38 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 4 Aug 2009 20:44:18 +0000
(16:44 -0400)
This has no functional changes.
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/reg.c
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/reg.c
b/net/wireless/reg.c
index fb40428a59467d569407e8c0af568c7dbade9817..2d1d183ae6f084ff38708f1531adcf5541f2dfc6 100644
(file)
--- a/
net/wireless/reg.c
+++ b/
net/wireless/reg.c
@@
-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)