Commit 322a95bc authored by Duncan Sands's avatar Duncan Sands Committed by Greg Kroah-Hartman

[PATCH] USB ATM: line speed measured in Kb not Kib

Spotted by David Woodhouse.
Signed-off-by: default avatarDuncan Sands <baldrick@free.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 16966f2a
...@@ -427,7 +427,7 @@ static void cxacru_poll_status(struct cxacru_data *instance) ...@@ -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->link_rate = buf[CXINF_DOWNSTREAM_RATE] * 1000 / 424;
atm_dev->signal = ATM_PHY_SIG_FOUND; 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]); buf[CXINF_DOWNSTREAM_RATE], buf[CXINF_UPSTREAM_RATE]);
break; break;
......
...@@ -480,7 +480,7 @@ static void speedtch_check_status(struct speedtch_instance_data *instance) ...@@ -480,7 +480,7 @@ static void speedtch_check_status(struct speedtch_instance_data *instance)
atm_dev->signal = ATM_PHY_SIG_FOUND; atm_dev->signal = ATM_PHY_SIG_FOUND;
atm_info(usbatm, 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); down_speed, up_speed);
} }
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment