diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-01-07 23:24:54 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-12 19:57:58 +0100 |
commit | b74d12e116528fadc35f305eb6e9525a3a2b62b1 (patch) | |
tree | d5ae133a8d980bfdf4b6c3d7ad59000ca39f6cbf /net/wireless/reg.c | |
parent | b43: LP-PHY: note and explain specs inconsistency (diff) | |
download | linux-b74d12e116528fadc35f305eb6e9525a3a2b62b1.tar.xz linux-b74d12e116528fadc35f305eb6e9525a3a2b62b1.zip |
cfg80211: add debug print when we drop a bogus country IE
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to '')
-rw-r--r-- | net/wireless/reg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index f79d6613c5ff..389247cb7059 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -1806,8 +1806,10 @@ void regulatory_hint_11d(struct wiphy *wiphy, goto out; rd = country_ie_2_rd(country_ie, country_ie_len, &checksum); - if (!rd) + if (!rd) { + REG_DBG_PRINT("cfg80211: Ignoring bogus country IE\n"); goto out; + } /* * This will not happen right now but we leave it here for the |