diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-05-28 21:20:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-05-28 21:20:22 +0000 |
commit | 6e5dd8c0b9a5c80e77a3ecf2ff217632c2abee3c (patch) | |
tree | 85a0fb02462f06a3160baf9dea954c0d92a88423 /package/mac80211/patches/300-pending_work.patch | |
parent | 439fdd4d651fc168869b8166d7332449b520ac0c (diff) | |
download | master-31e0f0ae-6e5dd8c0b9a5c80e77a3ecf2ff217632c2abee3c.tar.gz master-31e0f0ae-6e5dd8c0b9a5c80e77a3ecf2ff217632c2abee3c.tar.bz2 master-31e0f0ae-6e5dd8c0b9a5c80e77a3ecf2ff217632c2abee3c.zip |
mac80211: fix a crash issue introduced in the active monitor code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36751
Diffstat (limited to 'package/mac80211/patches/300-pending_work.patch')
-rw-r--r-- | package/mac80211/patches/300-pending_work.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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; + |