mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
don't set sniffer mode to ON when the driver is running with the
monitor mode. This solves a problem that sometimes mangled frames are passed. Submitted by: Werner Backes <werner_at_bit-1.de> Tested by: Werner Backes <werner_at_bit-1.de> PR: kern/121608 Approved by: thompsa (mentor)
This commit is contained in:
parent
69f04a828c
commit
9744c849bf
1 changed files with 1 additions and 2 deletions
|
|
@ -2505,8 +2505,7 @@ zyd_init(void *priv)
|
|||
return;
|
||||
|
||||
/* promiscuous mode */
|
||||
(void)zyd_write32(sc, ZYD_MAC_SNIFFER,
|
||||
(ic->ic_opmode == IEEE80211_M_MONITOR) ? 1 : 0);
|
||||
(void)zyd_write32(sc, ZYD_MAC_SNIFFER, 0);
|
||||
|
||||
/* multicast setup */
|
||||
(void)zyd_set_multi(sc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue