]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/bonding/bond_main.c
bonding: reread information about speed and duplex when interface goes up
[net-next-2.6.git] / drivers / net / bonding / bond_main.c
index e498ce3defad5ab9b5b26ce1d1217903f678d4fa..d5004826d19e010377d1f4fbf5980dd2083c2c87 100644 (file)
@@ -2406,6 +2406,8 @@ static void bond_miimon_commit(struct bonding *bond)
                                slave->state = BOND_STATE_BACKUP;
                        }
 
+                       bond_update_speed_duplex(slave);
+
                        pr_info("%s: link status definitely up for interface %s, %d Mbps %s duplex.\n",
                                bond->dev->name, slave->dev->name,
                                slave->speed, slave->duplex ? "full" : "half");