Most ATH driver use same beacon check. It is worth to place it to the main ATH lib. Oleksij Rempel (5): ath: add common function ath_is_mybeacon ath9k: use ath_is_mybeacon ath9k_htc: use ath_is_mybeacon ath5k: use ath_is_mybeacon carl9170: use ath_is_mybeacon drivers/net/wireless/ath/ath.h | 2 ++ drivers/net/wireless/ath/ath5k/base.c | 33 +++++++-------------------- drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | 4 +--- drivers/net/wireless/ath/ath9k/recv.c | 20 ++++------------ drivers/net/wireless/ath/carl9170/rx.c | 9 +++----- drivers/net/wireless/ath/main.c | 11 +++++++++ 6 files changed, 29 insertions(+), 50 deletions(-) -- 1.8.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html