mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
correct handling of IFF_PROMISC; this should not be pushed to the parent
device except for monitor and ahdemo mode vaps Reviewed by: rpaulo Approved by: re (kensmith)
This commit is contained in:
parent
983a2c892b
commit
ff5aac8eb7
1 changed files with 2 additions and 1 deletions
|
|
@ -637,7 +637,8 @@ ieee80211_syncifflag_locked(struct ieee80211com *ic, int flag)
|
|||
* drivers don't need to special-case it
|
||||
*/
|
||||
if (flag == IFF_PROMISC &&
|
||||
vap->iv_opmode == IEEE80211_M_HOSTAP)
|
||||
!(vap->iv_opmode == IEEE80211_M_MONITOR ||
|
||||
vap->iv_opmode == IEEE80211_M_AHDEMO))
|
||||
continue;
|
||||
bit = 1;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue