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

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

parent 81f14df0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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