projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48f753d
)
cxgb4: fix initial addition of MAC address
author
Dimitris Michailidis
<dm@chelsio.com>
Tue, 18 May 2010 10:07:11 +0000
(10:07 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 18 May 2010 22:16:45 +0000
(15:16 -0700)
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>
drivers/net/cxgb4/cxgb4_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/cxgb4/cxgb4_main.c
b/drivers/net/cxgb4/cxgb4_main.c
index
90d375b
..
1f59971
100644
(file)
--- 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,
-
fals
e);
+
tru
e);
if (ret >= 0) {
pi->xact_addr_filt = ret;
ret = 0;