]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: Cleanup FastChannelChange
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Wed, 14 Mar 2012 09:10:46 +0000 (14:40 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Mar 2012 17:40:28 +0000 (13:40 -0400)
commitbfe6637d436def8002fa0896d57a26d6f718a5dc
tree8a31fd1db143bbddce7090b38ec222843086d8f9
parent20e534fde465b189819370b8f53774cccd8062d9
ath9k_hw: Cleanup FastChannelChange

The logic to determine whether to use FCC is a bit convoluted.
Use a small helper function to decide whether FCC is to be
used.

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