From: nbd Date: Tue, 28 May 2013 21:20:22 +0000 (+0000) Subject: mac80211: fix a crash issue introduced in the active monitor code X-Git-Tag: fast2504n-3.10.28-merged~2490 X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=364f2083f5a8035a924ebec90ff9ddee3ddafa28;p=openwrt.git mac80211: fix a crash issue introduced in the active monitor code Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36751 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch index 33120a0903..c66693d237 100644 --- a/package/mac80211/patches/300-pending_work.patch +++ b/package/mac80211/patches/300-pending_work.patch @@ -3930,7 +3930,7 @@ change = true; } -+ if ((*flags & NL80211_MNTR_FLAG_ACTIVE) && ++ if (flags && (*flags & NL80211_MNTR_FLAG_ACTIVE) && + !(rdev->wiphy.features & NL80211_FEATURE_ACTIVE_MONITOR)) + return -EOPNOTSUPP; +