Skip to content

Commit

Permalink
[PATCH] USB ATM: line speed measured in Kb not Kib
Browse files Browse the repository at this point in the history
Spotted by David Woodhouse.

Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Duncan Sands authored and Greg Kroah-Hartman committed Jul 12, 2005
1 parent 16966f2 commit 322a95b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/usb/atm/cxacru.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ static void cxacru_poll_status(struct cxacru_data *instance)
atm_dev->link_rate = buf[CXINF_DOWNSTREAM_RATE] * 1000 / 424;
atm_dev->signal = ATM_PHY_SIG_FOUND;

dev_info(dev, "ADSL line: up (%d Kib/s down | %d Kib/s up)\n",
dev_info(dev, "ADSL line: up (%d kb/s down | %d kb/s up)\n",
buf[CXINF_DOWNSTREAM_RATE], buf[CXINF_UPSTREAM_RATE]);
break;

Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/atm/speedtch.c
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ static void speedtch_check_status(struct speedtch_instance_data *instance)
atm_dev->signal = ATM_PHY_SIG_FOUND;

atm_info(usbatm,
"ADSL line is up (%d Kib/s down | %d Kib/s up)\n",
"ADSL line is up (%d kb/s down | %d kb/s up)\n",
down_speed, up_speed);
}
break;
Expand Down

0 comments on commit 322a95b

Please sign in to comment.