From: Oleksij Rempel Date: Sat, 11 May 2013 08:59:47 +0000 (+0200) Subject: remove ar5416StartPcuReceive X-Git-Tag: 1.4.0~12^2^2~50 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=c943c242986bec759d4d0611490ca0b777874c1e;p=open-ath9k-htc-firmware.git remove ar5416StartPcuReceive Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/ah.h b/target_firmware/wlan/ah.h index 4e3ab42..eac8118 100755 --- a/target_firmware/wlan/ah.h +++ b/target_firmware/wlan/ah.h @@ -454,7 +454,6 @@ struct ath_hal struct ath_desc *nds, struct ath_rx_status *rx_stats); HAL_BOOL __ahdecl(*ah_stopDmaReceive)(struct ath_hal*); - void __ahdecl(*ah_startPcuReceive)(struct ath_hal*); void __ahdecl(*ah_stopPcuReceive)(struct ath_hal*); void __ahdecl(*ah_enableReceive)(struct ath_hal*); diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index 23ca493..7c271ce 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -72,7 +72,6 @@ static const struct ath_hal_private ar5416hal_10 = {{ .ah_setRxDP = ar5416SetRxDP, .ah_stopDmaReceive = ar5416StopDmaReceive, .ah_enableReceive = ar5416EnableReceive, - .ah_startPcuReceive = ar5416StartPcuReceive, .ah_stopPcuReceive = ar5416StopPcuReceive, /* Interrupt Functions */ @@ -353,12 +352,6 @@ HAL_BOOL ar5416SetMulticastFilterIndex(struct ath_hal *ah, a_uint32_t ix) return AH_TRUE; } -void ar5416StartPcuReceive(struct ath_hal *ah) -{ - OS_REG_CLR_BIT(ah, AR_DIAG_SW, - (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT)); -} - void ar5416SetRxFilter(struct ath_hal *ah, a_uint32_t bits) { a_uint32_t phybits;