Commit b74d12e1 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by John W. Linville

cfg80211: add debug print when we drop a bogus country IE

Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 81f14df0
...@@ -1806,8 +1806,10 @@ void regulatory_hint_11d(struct wiphy *wiphy, ...@@ -1806,8 +1806,10 @@ void regulatory_hint_11d(struct wiphy *wiphy,
goto out; goto out;
rd = country_ie_2_rd(country_ie, country_ie_len, &checksum); 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; goto out;
}
/* /*
* This will not happen right now but we leave it here for the * This will not happen right now but we leave it here for the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment