ath9k: Simplify checks in quick_scan
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Thu, 1 Aug 2013 06:23:22 +0000 (11:53 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 1 Aug 2013 19:52:05 +0000 (15:52 -0400)
commit9ddf03017917970c53da577b263e1686ef5c9652
treebeee49808314dab88e22f7a79896a3585143b95a
parent5f800ffbbb29c51fbcd886080dc3b0a6ab20b9b9
ath9k: Simplify checks in quick_scan

There is a function to do a ratio comparison for ALT,
so make use of it.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/antenna.c