Search Linux Wireless

[PATCH] cfg80211: "fix" 11d oops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
---
 net/wireless/reg.c |    3 +++
 1 file changed, 3 insertions(+)

--- everything.orig/net/wireless/reg.c	2008-12-01 18:10:15.000000000 +0100
+++ everything/net/wireless/reg.c	2008-12-01 18:10:24.000000000 +0100
@@ -989,6 +989,9 @@ void regulatory_hint_11d(struct wiphy *w
 	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 */


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux