ath5k: minor rfkill cleanup
Always enable rfkill since the ifdefs in the code is not really worth the Kconfig option. Also fix a few code style things, and remove the usage of the ah_gpio[] array so we can remove it later. Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
27004b10ce
commit
a6ae0716e5
@@ -2530,12 +2530,9 @@ ath5k_intr(int irq, void *dev_id)
|
||||
*/
|
||||
ath5k_hw_update_mib_counters(ah, &sc->ll_stats);
|
||||
}
|
||||
#ifdef CONFIG_ATH5K_RFKILL
|
||||
if (status & AR5K_INT_GPIO)
|
||||
{
|
||||
tasklet_schedule(&sc->rf_kill.toggleq);
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
} while (ath5k_hw_is_intr_pending(ah) && --counter > 0);
|
||||
|
||||
|
Reference in New Issue
Block a user