]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rt2x00: rt2800lib: turn on tertiary PAs/LNAs for 3T/3R devices
authorGabor Juhos <juhosg@openwrt.org>
Mon, 24 Jun 2013 21:03:24 +0000 (23:03 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Jun 2013 17:42:13 +0000 (13:42 -0400)
commitbb16d4881e1fd2b189f2cb7bee96c3e9b7cfe5f9
treefb953ca0df51e0da66e7eb1852b8b0301c2b5343
parent3e23d4e8cef83995558f1a7026ea2b74207445bf
rt2x00: rt2800lib: turn on tertiary PAs/LNAs for 3T/3R devices

The 3T/3R devices are using the tertiary PAs/LNAs
however those are never turned on. Fix the code to
turn on those on for such devices.

Also modify the code to use switch statements to
improve readability.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c