summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/pci.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-06-25 22:57:29 +0200
committerJohn W. Linville <linville@tuxdriver.com>2013-06-27 13:42:13 -0400
commit0847beb2865f5ef1c8626ec1a37def18f3d6c41a (patch)
tree41255cbf1b8adaeeff47238f89f40dc0aee84a86 /drivers/net/wireless/ath/ath10k/pci.c
parent9a54c17636814bce1ee19585231a4a038000c8bd (diff)
rt2x00: rt2800lib: fix default TX power check for RT55xx
The code writes the default_power2 value into the TX field of the RFCSR50 register, however the condition in the if statement uses default_power1. Due to this, wrong TX power value might be written into the register. Use the correct value in the condition to fix the issue. Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: stable@vger.kernel.org # 3.10 Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/pci.c')
0 files changed, 0 insertions, 0 deletions