brcmfmac: Fix set and get tx-power functions.
authorHante Meuleman <meuleman@broadcom.com>
Fri, 18 Sep 2015 20:08:06 +0000 (22:08 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 Sep 2015 07:55:47 +0000 (10:55 +0300)
commit60dc35ef9ffdf8810b98cc09abb02378023818c2
tree3019b00eaccd8375990641d0e5fdafd4d0fef055
parente3c92cb2eea395c9fbec7ceb678626565cbac0fe
brcmfmac: Fix set and get tx-power functions.

Implementation of tx-power (get and set) related functions are
still assuming mW interface. This is wrong as functions use dbm
(or mbm) nowadays. As a result a tx power configuration could
result in wrong power configuration.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@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