]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix two more bugs in tx power
authorDaniel Halperin <dhalperi@cs.washington.edu>
Tue, 31 May 2011 18:59:30 +0000 (11:59 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 1 Jun 2011 18:35:54 +0000 (14:35 -0400)
commitf20686f41ce5b8312d68317721d4820d441eebdf
treecd0f69b7a496b866d2a67cfcf12305b1e5060abc
parent312bedd7944649d1cb4a067ef1940ae8da4d765e
ath9k: fix two more bugs in tx power

This is the same fix as

   commit c40f67ee1a7f823ecc7fd43012f316b4f99335a6
   Author: Matteo Croce <technoboy85@gmail.com>
   Date:   Fri Dec 3 02:25:08 2010 +0100

   The ath9k driver subtracts 3 dBm to the txpower as with two radios the
   signal power is doubled.
   The resulting value is assigned in an u16 which overflows and makes
   the card work at full power.

in two more places. I grepped the ath tree and didn't find any others.

Cc: stable@kernel.org
Signed-off-by: Daniel Halperin <dhalperi@cs.washington.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
drivers/net/wireless/ath/ath9k/eeprom_9287.c