commit | 841051602e3fa18ea468fe5a177aa92b6eb44b56 | [log] [tgz] |
---|---|---|
author | Matteo Croce <technoboy85@gmail.com> | Fri Dec 03 02:25:08 2010 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Dec 07 14:57:05 2010 -0500 |
tree | 0bedad5cdcfbb819fe284ddb408cac7e44c980ab | |
parent | d89197c7f34934fbb0f96d938a0d6cfe0b8bcb1c [diff] |
ath9k: fix bug in tx power 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. Cc: stable@kernel.org Signed-off-by: Matteo Croce <matteo@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>