rt2x00: Simplify check for external LNA in rt2800_init_rfcsr.
authorGertjan van Wingerde <gwingerde@gmail.com>
Thu, 3 Jun 2010 08:52:02 +0000 (10:52 +0200)
committerIvo van Doorn <IvDoorn@gmail.com>
Thu, 3 Jun 2010 08:52:02 +0000 (10:52 +0200)
commit8440c292798a6a7dc70356df80de84e0082bd99d
tree2a211c2140c876b66b648e76a2b95543aa00603e
parent6e1fdd11b1b3febca3554dbca5f6a80ba0a7c285
rt2x00: Simplify check for external LNA in rt2800_init_rfcsr.

Instead of parsing the EEPROM information, use the flag that was set during
device initialization.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
drivers/net/wireless/rt2x00/rt2800lib.c