rt2x00: Disable RX when switching antenna
authorIvo van Doorn <ivdoorn@gmail.com>
Sat, 27 Oct 2007 11:39:28 +0000 (13:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:02:56 +0000 (15:02 -0800)
commite25c4bb913e54d729631ba7eb50daf1d9aacbef6
tree6a233d3e3446e3fb924b4bf9d3bff1fe2049e22f
parent2d68de3efa62655d551092f5c787505735d561ad
rt2x00: Disable RX when switching antenna

Antenna switching will be ignored when RX is enabled
during the switch. Make sure we disable the RX during
the switch and don't forget to reenable it later.

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