rt2x00: Enable PA_PE bits in TX_PIN_CFG according to active band.
authorGertjan van Wingerde <gwingerde@gmail.com>
Wed, 18 May 2011 18:25:05 +0000 (20:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 1 Jun 2011 19:10:58 +0000 (15:10 -0400)
commit65f31b5e7029e55d4f7020a1d0b0658a50ea73cb
tree0ebc6f067cc08045519415167b37250c1fb39e9c
parent1bdcd095e39a789135f8638a2ff76f74e3071d46
rt2x00: Enable PA_PE bits in TX_PIN_CFG according to active band.

(split off from the earlier RT35xx patch submitted by Shiang)

There's no point in enabling the PA_PE bits for the bands that we are
not active on.

Signed-off-by: Shiang Tu <shiang_tu@ralinktech.com>
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c