diff options
Diffstat (limited to 'libs/iwinfo/src/iwinfo_madwifi.c')
-rw-r--r-- | libs/iwinfo/src/iwinfo_madwifi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/iwinfo/src/iwinfo_madwifi.c b/libs/iwinfo/src/iwinfo_madwifi.c index e09d49b1e..e2bde1c14 100644 --- a/libs/iwinfo/src/iwinfo_madwifi.c +++ b/libs/iwinfo/src/iwinfo_madwifi.c @@ -175,7 +175,7 @@ int madwifi_get_bitrate(const char *ifname, int *buf) } while (len >= sizeof(struct ieee80211req_sta_info)); } - *buf = (rate == 0 || rate_count == 0) ? 0 : (rate / rate_count); + *buf = (rate == 0 || rate_count == 0) ? 0 : (rate / rate_count) * 1000; return 0; } |