Commit 0f70f398 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

cfg80211: "fix" 11d oops



This "fixes" the 11d oops I was seeing. This needs some more work but I
cannot work on it now.

Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c58f9f63
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -989,6 +989,9 @@ void regulatory_hint_11d(struct wiphy *wiphy,
	u32 checksum = 0;
	enum environment_cap env = ENVIRON_ANY;

	if (!last_request)
		return;

	mutex_lock(&cfg80211_drv_mutex);

	/* IE len must be evenly divisible by 2 */