brcmfmac: Fix station info rate information.
authorHante Meuleman <meuleman@broadcom.com>
Thu, 8 Oct 2015 18:33:16 +0000 (20:33 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 21 Oct 2015 07:56:46 +0000 (10:56 +0300)
commit124d517211e4322366f087774dadae136c6cec8b
tree779a919c7f96f91e4bb48e389277b466d97de9ba
parent2b76acdbc0431a7d9e87eacb27bb537a211bed16
brcmfmac: Fix station info rate information.

Txrate and rxrate in get_station got assigned first with value
in kbps and then divided by 100 to get it in 100kbps unit. The
problem with that is that type of rate is u16 which resulted
in incorrect values for high data rate values.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c