summaryrefslogtreecommitdiffhomepage
path: root/libs/iwinfo/src/iwinfo_wext.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/iwinfo/src/iwinfo_wext.c')
-rw-r--r--libs/iwinfo/src/iwinfo_wext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/iwinfo/src/iwinfo_wext.c b/libs/iwinfo/src/iwinfo_wext.c
index 311fd8ebbe..387cb13b44 100644
--- a/libs/iwinfo/src/iwinfo_wext.c
+++ b/libs/iwinfo/src/iwinfo_wext.c
@@ -189,7 +189,7 @@ int wext_get_bitrate(const char *ifname, int *buf)
if(wext_ioctl(ifname, SIOCGIWRATE, &wrq) >= 0)
{
- *buf = (wrq.u.bitrate.value / 1000000);
+ *buf = (wrq.u.bitrate.value / 1000);
return 0;
}