aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r--net/wireless/reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index a78902d0d6c9..5dab72db54b9 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -791,7 +791,7 @@ int regulatory_init(void)
791 * you have CRDA you get it updated, otherwise you get 791 * you have CRDA you get it updated, otherwise you get
792 * stuck with the static values. We ignore "EU" code as 792 * stuck with the static values. We ignore "EU" code as
793 * that is not a valid ISO / IEC 3166 alpha2 */ 793 * that is not a valid ISO / IEC 3166 alpha2 */
794 if (ieee80211_regdom[0] != 'E' && ieee80211_regdom[1] != 'U') 794 if (ieee80211_regdom[0] != 'E' || ieee80211_regdom[1] != 'U')
795 err = __regulatory_hint(NULL, REGDOM_SET_BY_CORE, 795 err = __regulatory_hint(NULL, REGDOM_SET_BY_CORE,
796 ieee80211_regdom, NULL); 796 ieee80211_regdom, NULL);
797#else 797#else