remove ar5416StartPcuReceive
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 08:59:47 +0000 (10:59 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:10:07 +0000 (16:10 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/ah.h
target_firmware/wlan/ar5416_hw.c

index 4e3ab429c48e1495701b17764f3dad03d35cea5c..eac8118d240f12053fd9681acf17dcf1295db421 100755 (executable)
@@ -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*);
            
index 23ca4937a047e1d68a457d8df9e0face3ca3b89d..7c271ce679fcba14f119e152fa0af6abf18cab9f 100644 (file)
@@ -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;