diff options
-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, | |||
1806 | goto out; | 1806 | goto out; |
1807 | 1807 | ||
1808 | rd = country_ie_2_rd(country_ie, country_ie_len, &checksum); | 1808 | rd = country_ie_2_rd(country_ie, country_ie_len, &checksum); |
1809 | if (!rd) | 1809 | if (!rd) { |
1810 | REG_DBG_PRINT("cfg80211: Ignoring bogus country IE\n"); | ||
1810 | goto out; | 1811 | goto out; |
1812 | } | ||
1811 | 1813 | ||
1812 | /* | 1814 | /* |
1813 | * This will not happen right now but we leave it here for the | 1815 | * This will not happen right now but we leave it here for the |