From 380581b56577aff1927d821796d9c664cda15208 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Thu, 7 Jan 2010 17:24:54 -0500 Subject: [PATCH] --- yaml --- r: 183590 b: refs/heads/master c: b74d12e116528fadc35f305eb6e9525a3a2b62b1 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/wireless/reg.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 1db69f41dc97..44335ac9d561 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 81f14df0b3909875902b0253d7059e8a73dd0c7f +refs/heads/master: b74d12e116528fadc35f305eb6e9525a3a2b62b1 diff --git a/trunk/net/wireless/reg.c b/trunk/net/wireless/reg.c index f79d6613c5ff..389247cb7059 100644 --- a/trunk/net/wireless/reg.c +++ b/trunk/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