]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ixgb: fix interface losing macaddr on ifdn/up
authorAuke Kok <auke-jan.h.kok@intel.com>
Fri, 26 May 2006 16:35:32 +0000 (09:35 -0700)
committerAuke Kok <juke-jan.h.kok@intel.com>
Fri, 26 May 2006 16:35:32 +0000 (09:35 -0700)
user contributed fix for LAA across down/up, from tonychung00@users.sf.net.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
drivers/net/ixgb/ixgb_main.c

index 954894b5308c45c5198c669b1cfb1c60734ac0a1..26c777f1f565bc08620ecd10b3ec50e897dab534 100644 (file)
@@ -238,6 +238,7 @@ ixgb_up(struct ixgb_adapter *adapter)
 
        /* hardware has been reset, we need to reload some things */
 
+       ixgb_rar_set(hw, netdev->dev_addr, 0);
        ixgb_set_multi(netdev);
 
        ixgb_restore_vlan(adapter);