diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-01-07 17:24:54 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-12 13:57:58 -0500 |
commit | b74d12e116528fadc35f305eb6e9525a3a2b62b1 (patch) | |
tree | d5ae133a8d980bfdf4b6c3d7ad59000ca39f6cbf /net/wireless | |
parent | 81f14df0b3909875902b0253d7059e8a73dd0c7f (diff) | |
download | kernel_samsung_smdk4412-b74d12e116528fadc35f305eb6e9525a3a2b62b1.zip kernel_samsung_smdk4412-b74d12e116528fadc35f305eb6e9525a3a2b62b1.tar.gz kernel_samsung_smdk4412-b74d12e116528fadc35f305eb6e9525a3a2b62b1.tar.bz2 |
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 'net/wireless')
-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 f79d661..389247c 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 |