summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-11-21 10:43:21 -0200
committerRenato Botelho <renato@netgate.com>2016-11-21 10:44:32 -0200
commitc1d136c87f2377fd07592928003e67490eb479a6 (patch)
tree8968fabb850294813abae76b8411663ec4806b9a
parent7d7a558c7b7e24bc4cb04acd448893e817924b21 (diff)
downloadFreeBSD-src-c1d136c87f2377fd07592928003e67490eb479a6.zip
FreeBSD-src-c1d136c87f2377fd07592928003e67490eb479a6.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.c2
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;
OpenPOWER on IntegriCloud