Skip to content

Commit

Permalink
cxgb4: fix initial addition of MAC address
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dimitris Michailidis authored and David S. Miller committed May 18, 2010
1 parent 48f753d commit b6bd29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/cxgb4/cxgb4_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b6bd29e

Please sign in to comment.