[PATCH] rt2x00: Fix antenna selection.
authorMattias Nissler <mattias.nissler@gmx.de>
Sat, 13 Oct 2007 14:26:57 +0000 (16:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:02:54 +0000 (15:02 -0800)
commit16b1951f53c6097d7355e76ed9ca64b056f88f31
tree5f951e0d828a45d101b36c8bf0b2a57708de2ff9
parentddc827f93a2f2a7dcfda5b691d046af4dfe76427
[PATCH] rt2x00: Fix antenna selection.

In the config() handler, make sure that we do configure an antenna if the
current active antenna is uninitialized. Furthermore, don't overwrite the
active antenna with bogus values if we didn't touch the antenna setup.

Signed-off-by: Mattias Nissler <mattias.nissler@gmx.de>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/rt2x00/rt2x00config.c