summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDimitris Michailidis <dm@chelsio.com>2010-05-18 10:07:11 +0000
committerDavid S. Miller <davem@davemloft.net>2010-05-18 15:16:45 -0700
commitb6bd29e793c1747e0b4be8791d5738acea3a86df (patch)
treeac848a33bc33151d57ac7d238e47a0012d132481 /drivers
parent48f753d2ba94a4081400fa8d26bdbfbbf12b10de (diff)
downloadlinux-3.10-b6bd29e793c1747e0b4be8791d5738acea3a86df.tar.gz
linux-3.10-b6bd29e793c1747e0b4be8791d5738acea3a86df.tar.bz2
linux-3.10-b6bd29e793c1747e0b4be8791d5738acea3a86df.zip
cxgb4: fix initial addition of MAC address
The call to add the MAC address during link initialization wasn't adding the address to one of the HW tables. Fix. Signed-off-by: Dimitris Michailidis <dm@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/cxgb4/cxgb4_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb4/cxgb4_main.c b/drivers/net/cxgb4/cxgb4_main.c
index 90d375b421c..1f5997167ff 100644
--- a/drivers/net/cxgb4/cxgb4_main.c
+++ b/drivers/net/cxgb4/cxgb4_main.c
@@ -315,7 +315,7 @@ static int link_start(struct net_device *dev)
if (ret == 0) {
ret = t4_change_mac(pi->adapter, 0, pi->viid,
pi->xact_addr_filt, dev->dev_addr, true,
- false);
+ true);
if (ret >= 0) {
pi->xact_addr_filt = ret;
ret = 0;