diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-21 11:08:27 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-01 00:00:44 +0100 |
commit | ac9440a4e4b284d3469120f0e049dff7c73c72a4 (patch) | |
tree | c8e24b368568dc6c668782abb86afd324d46ba66 /net | |
parent | wireless: get rid of pointless request list (diff) | |
download | linux-ac9440a4e4b284d3469120f0e049dff7c73c72a4.tar.xz linux-ac9440a4e4b284d3469120f0e049dff7c73c72a4.zip |
wireless: fix EU check
http://en.wikipedia.org/wiki/De_Morgan%27s_laws is useful.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/wireless/reg.c | 2 |
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) * you have CRDA you get it updated, otherwise you get * stuck with the static values. We ignore "EU" code as * that is not a valid ISO / IEC 3166 alpha2 */ - if (ieee80211_regdom[0] != 'E' && ieee80211_regdom[1] != 'U') + if (ieee80211_regdom[0] != 'E' || ieee80211_regdom[1] != 'U') err = __regulatory_hint(NULL, REGDOM_SET_BY_CORE, ieee80211_regdom, NULL); #else |