rtl818x_pci: make RSSI code more readable
authorAndrea Merello <andrea.merello@gmail.com>
Sat, 31 May 2014 16:29:46 +0000 (18:29 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 Jun 2014 19:49:12 +0000 (15:49 -0400)
commitafbedbf7dfc0ebff0ea3280530fe0609fd307486
treeb9e8d346cff09f8fe7819653b62bb06a88f1b999
parent69253b6108102834c7cac826d4c34a0414b83a3e
rtl818x_pci: make RSSI code more readable

remove the if-else chains and use switch-case to make code more
readable and avoiding long lines that broke in several lines

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8180/dev.c