[PATCH] USB ATM: line speed measured in Kb not Kib
Duncan Sands
duncan.sands at math.u-psud.fr
Thu Jun 23 03:20:50 EDT 2005
Spotted by David Woodhouse.
Signed-off-by: Duncan Sands <baldrick at free.fr>
Index: Linux/drivers/usb/atm/cxacru.c
===================================================================
--- Linux.orig/drivers/usb/atm/cxacru.c 2005-06-20 22:42:35.000000000 +0200
+++ Linux/drivers/usb/atm/cxacru.c 2005-06-23 09:02:45.506926102 +0200
@@ -427,7 +427,7 @@
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;
Index: Linux/drivers/usb/atm/speedtch.c
===================================================================
--- Linux.orig/drivers/usb/atm/speedtch.c 2005-06-20 22:42:35.000000000 +0200
+++ Linux/drivers/usb/atm/speedtch.c 2005-06-23 09:02:45.508925765 +0200
@@ -480,7 +480,7 @@
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;
More information about the Usbatm
mailing list