]> Pileus Git - ~andy/linux/blobdiff - drivers/net/eepro.c
Merge branch 'linus' into x86/urgent
[~andy/linux] / drivers / net / eepro.c
index eb35951a2442266b8f5ed6c7f40f382dda31aa93..dfeb006035df60dd16add78680076e22caf566c4 100644 (file)
@@ -1703,7 +1703,7 @@ static int eepro_ethtool_get_settings(struct net_device *dev,
                cmd->advertising |= ADVERTISED_AUI;
        }
 
-       cmd->speed = SPEED_10;
+       ethtool_cmd_speed_set(cmd, SPEED_10);
 
        if (dev->if_port == TPE && lp->word[1] & ee_Duplex) {
                cmd->duplex = DUPLEX_FULL;