aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/benet
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/benet')
-rw-r--r--drivers/net/benet/be_cmds.c2
-rw-r--r--drivers/net/benet/be_main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c
index 2aadf88eaa0a..11b774a5eaff 100644
--- a/drivers/net/benet/be_cmds.c
+++ b/drivers/net/benet/be_cmds.c
@@ -1438,7 +1438,7 @@ err:
1438 1438
1439/* 1439/*
1440 * Uses MCC for this command as it may be called in BH context 1440 * Uses MCC for this command as it may be called in BH context
1441 * (mc == NULL) => multicast promiscous 1441 * (mc == NULL) => multicast promiscuous
1442 */ 1442 */
1443int be_cmd_multicast_set(struct be_adapter *adapter, u32 if_id, 1443int be_cmd_multicast_set(struct be_adapter *adapter, u32 if_id,
1444 struct net_device *netdev, struct be_dma_mem *mem) 1444 struct net_device *netdev, struct be_dma_mem *mem)
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 289c73aa6875..1bb763cda3ad 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -703,7 +703,7 @@ static void be_set_multicast_list(struct net_device *netdev)
703 goto done; 703 goto done;
704 } 704 }
705 705
706 /* BE was previously in promiscous mode; disable it */ 706 /* BE was previously in promiscuous mode; disable it */
707 if (adapter->promiscuous) { 707 if (adapter->promiscuous) {
708 adapter->promiscuous = false; 708 adapter->promiscuous = false;
709 be_cmd_promiscuous_config(adapter, adapter->port_num, 0); 709 be_cmd_promiscuous_config(adapter, adapter->port_num, 0);