Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82632
b: refs/heads/master
c: 13da93d
h: refs/heads/master
v: v3
  • Loading branch information
Doug Maxey authored and David S. Miller committed Feb 3, 2008
1 parent 81e662b commit c0a4f45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6fa0b03cdf7d973988193c2b7d768f01e1dc2ae
refs/heads/master: 13da93d495f950f078038436f39659f54f91639a
4 changes: 2 additions & 2 deletions trunk/drivers/net/ehea/ehea_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ static int ehea_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
return ret;

if (netif_carrier_ok(dev)) {
switch(port->port_speed) {
switch (port->port_speed) {
case EHEA_SPEED_10M: cmd->speed = SPEED_10; break;
case EHEA_SPEED_100M: cmd->speed = SPEED_100; break;
case EHEA_SPEED_1G: cmd->speed = SPEED_1000; break;
Expand Down Expand Up @@ -78,7 +78,7 @@ static int ehea_set_settings(struct net_device *dev, struct ethtool_cmd *cmd)
goto doit;
}

switch(cmd->speed) {
switch (cmd->speed) {
case SPEED_10:
if (cmd->duplex == DUPLEX_FULL)
sp = H_SPEED_10M_F;
Expand Down

0 comments on commit c0a4f45

Please sign in to comment.