Gabor Juhos 0847beb286 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>
2013-06-27 13:42:13 -04:00
..
2013-05-09 16:33:42 -07:00
2013-05-07 11:22:14 -07:00
2013-05-07 20:16:25 -07:00
2013-04-29 00:08:46 +02:00
2013-04-26 22:30:25 +02:00
2013-05-09 10:11:08 -07:00
2013-05-09 09:59:16 -07:00
2013-05-09 09:59:16 -07:00
2013-05-06 13:07:33 +02:00
2013-05-09 09:59:16 -07:00
2013-05-09 09:59:16 -07:00
2013-05-06 14:59:13 -07:00
2013-05-09 09:59:16 -07:00
2013-05-10 14:37:21 +01:00
2013-06-14 13:45:11 +02:00
2013-05-09 10:21:44 -07:00
2013-05-09 09:59:16 -07:00
2013-05-07 14:04:56 -07:00
2013-05-07 14:02:00 -07:00
2013-05-09 09:59:16 -07:00
2013-05-09 09:59:16 -07:00
2013-05-02 14:02:32 -07:00
2013-05-07 10:13:52 -07:00
2013-05-09 09:59:16 -07:00
2013-05-11 16:19:30 -07:00
2013-05-04 12:31:18 -07:00
2013-05-04 12:31:18 -07:00