cxgb4: fix initial addition of MAC address
authorDimitris Michailidis <dm@chelsio.com>
Tue, 18 May 2010 10:07:11 +0000 (10:07 +0000)
committerDavid 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

index 90d375b421cb8efb471e93a7255b7cdc0ef5ae98..1f5997167ff31298beeac9f01c13f6d80567250c 100644 (file)
@@ -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;