aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_hw.c')
-rw-r--r--drivers/net/qlcnic/qlcnic_hw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_hw.c b/drivers/net/qlcnic/qlcnic_hw.c
index 7f1f9b4ca0ff..53e805316f4a 100644
--- a/drivers/net/qlcnic/qlcnic_hw.c
+++ b/drivers/net/qlcnic/qlcnic_hw.c
@@ -442,7 +442,8 @@ void qlcnic_set_multi(struct net_device *netdev)
442 qlcnic_nic_add_mac(adapter, bcast_addr); 442 qlcnic_nic_add_mac(adapter, bcast_addr);
443 443
444 if (netdev->flags & IFF_PROMISC) { 444 if (netdev->flags & IFF_PROMISC) {
445 mode = VPORT_MISS_MODE_ACCEPT_ALL; 445 if (!(adapter->flags & QLCNIC_PROMISC_DISABLED))
446 mode = VPORT_MISS_MODE_ACCEPT_ALL;
446 goto send_fw_cmd; 447 goto send_fw_cmd;
447 } 448 }
448 449