]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit869f626d1b62d5e326d06015e3112b6d0e69823a
treebeee49808314dab88e22f7a79896a3585143b95a
parentd606d368310df2d1249f8be8a2838cf2b0a6dba2
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