aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4
diff options
context:
space:
mode:
authorDimitris Michailidis <dm@chelsio.com>2010-05-18 06:07:11 -0400
committerDavid S. Miller <davem@davemloft.net>2010-05-18 18:16:45 -0400
commitb6bd29e793c1747e0b4be8791d5738acea3a86df (patch)
treeac848a33bc33151d57ac7d238e47a0012d132481 /drivers/net/cxgb4
parent48f753d2ba94a4081400fa8d26bdbfbbf12b10de (diff)
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/net/cxgb4')
-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 90d375b421cb..1f5997167ff3 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)
315 if (ret == 0) { 315 if (ret == 0) {
316 ret = t4_change_mac(pi->adapter, 0, pi->viid, 316 ret = t4_change_mac(pi->adapter, 0, pi->viid,
317 pi->xact_addr_filt, dev->dev_addr, true, 317 pi->xact_addr_filt, dev->dev_addr, true,
318 false); 318 true);
319 if (ret >= 0) { 319 if (ret >= 0) {
320 pi->xact_addr_filt = ret; 320 pi->xact_addr_filt = ret;
321 ret = 0; 321 ret = 0;