ath9k: Cleanup the beacon tasklet
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Tue, 17 Jul 2012 11:46:22 +0000 (17:16 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Jul 2012 19:11:39 +0000 (15:11 -0400)
commitfb6e252f8d262d05da3ae023b4a6f83d0eec17d9
treedb4e955be34e30a5b5882bee56f427464ca2eb9b
parent2f8e82e8ab4629e648925c566cc26bdcf25f0aec
ath9k: Cleanup the beacon tasklet

Remove unused variables, use a helper function to choose
the slot and reset beaconing status at one place.

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