rt2x00: rt2800lib: use switch statement for RF specific setup
authorGabor Juhos <juhosg@openwrt.org>
Mon, 14 Oct 2013 19:59:51 +0000 (21:59 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Oct 2013 18:03:54 +0000 (14:03 -0400)
commit4a32c36daa37963cab9140fe9da9c62187931e3c
tree4c08ab6882fe5df332dc92ed806300c8e7caa887
parentaa10350d06254c5ee69535eaa48054f162d9bb91
rt2x00: rt2800lib: use switch statement for RF specific setup

It is much more readable than multiple if-else-if
statements.

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