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)
commitcaed6579c2f9756d3f5a95e8186fa4c04d64cae2
tree8a31fd1db143bbddce7090b38ec222843086d8f9
parentbcf6f96e192d71864685ba7253c94c2002615875
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