From 1be620eb3f11e36671afcc210af4b01117d03eec Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sat, 11 May 2013 10:34:17 +0200 Subject: [PATCH] remove ar5416GetTsf32 Signed-off-by: Oleksij Rempel --- target_firmware/wlan/ah.h | 3 +-- target_firmware/wlan/ar5416_hw.c | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/target_firmware/wlan/ah.h b/target_firmware/wlan/ah.h index 62031d7..6694d76 100755 --- a/target_firmware/wlan/ah.h +++ b/target_firmware/wlan/ah.h @@ -440,8 +440,7 @@ struct ath_hal void __ahdecl(*ah_setPCUConfig)(struct ath_hal *); void __ahdecl(*ah_setMulticastFilter)(struct ath_hal*, a_uint32_t filter0, a_uint32_t filter1); - - a_uint32_t __ahdecl(*ah_getTsf32)(struct ath_hal*); + u_int64_t __ahdecl(*ah_getTsf64)(struct ath_hal*); void __ahdecl(*ah_resetTsf)(struct ath_hal*); diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index 947e9a0..c58aac9 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -65,7 +65,6 @@ static const struct ath_hal_private ar5416hal_10 = {{ .ah_abortTxDma = ar5416AbortTxDma, /* Misc Functions */ - .ah_getTsf32 = ar5416GetTsf32, .ah_getTsf64 = ar5416GetTsf64, .ah_resetTsf = ar5416ResetTsf, .ah_setRxFilter = ar5416SetRxFilter, @@ -299,11 +298,6 @@ u_int64_t ar5416GetTsf64(struct ath_hal *ah) return tsf; } -a_uint32_t ar5416GetTsf32(struct ath_hal *ah) -{ - return OS_REG_READ(ah, AR_TSF_L32); -} - void ar5416ResetTsf(struct ath_hal *ah) { a_int32_t count; -- 2.31.1