mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
cfg80211: add debug print when we drop a bogus country IE
Signed-off-by: Luis R. Rodriguez <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
81f14df0b3
commit
b74d12e116
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue