projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mac80211: fix a crash issue introduced in the active monitor code
[openwrt/svn-archive/archive.git]
/
package
/
mac80211
/
patches
/
300-pending_work.patch
diff --git
a/package/mac80211/patches/300-pending_work.patch
b/package/mac80211/patches/300-pending_work.patch
index 33120a09031da29bea6717e2b2c5769cbbbac25d..c66693d2375823d302d8b42700fdf429702428a2 100644
(file)
--- 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;
+