diff options
author | Renato Botelho <renato@netgate.com> | 2016-11-21 10:43:21 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-11-21 10:44:45 -0200 |
commit | d20b9916a16a3507b076e4764566a9641f9e973a (patch) | |
tree | 34c69c2a19ecf781d42ee08b53e05e0cc80114f1 | |
parent | f3b07992fce8a61008ffdc893fde2b53fef7acba (diff) | |
download | FreeBSD-src-d20b9916a16a3507b076e4764566a9641f9e973a.zip FreeBSD-src-d20b9916a16a3507b076e4764566a9641f9e973a.tar.gz |
Import oce driver fix from [1]
[1] https://lists.freebsd.org/pipermail/freebsd-net/2015-June/042530.html
-rw-r--r-- | sys/dev/oce/oce_mbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/oce/oce_mbox.c b/sys/dev/oce/oce_mbox.c index f3f7723..6dee15b 100644 --- a/sys/dev/oce/oce_mbox.c +++ b/sys/dev/oce/oce_mbox.c @@ -865,7 +865,7 @@ oce_rxf_set_promiscuous(POCE_SOFTC sc, uint8_t enable) req->iface_flags = MBX_RX_IFACE_FLAGS_PROMISCUOUS; if (enable & 0x02) - req->iface_flags = MBX_RX_IFACE_FLAGS_VLAN_PROMISCUOUS; + req->iface_flags |= MBX_RX_IFACE_FLAGS_VLAN_PROMISCUOUS; req->if_id = sc->if_id; |