use ah_setRxDP directly
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 08:50:11 +0000 (10:50 +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/if_ath.c
target_firmware/wlan/if_athvar.h

index f228a1440f33540153f4ef5a691b32057dd4fc15..ce29af409fec4ae747a9337a0128013c50084e64 100755 (executable)
@@ -271,7 +271,7 @@ static a_int32_t ath_rxdesc_init(struct ath_softc_tgt *sc, struct ath_rx_desc *d
                            0);
 
        if (sc->sc_rxlink == NULL) {
-               ath_hal_putrxbuf(ah, ds->ds_daddr);
+               ah->ah_setRxDP(ah, ds->ds_daddr);
        }
        else {
                *sc->sc_rxlink = ds->ds_daddr;
@@ -472,7 +472,7 @@ static a_int32_t ath_startrecv(struct ath_softc_tgt *sc)
        }
 
        ds = asf_tailq_first(&sc->sc_rxdesc);
-       ath_hal_putrxbuf(ah, ds->ds_daddr);
+       ah->ah_setRxDP(ah, ds->ds_daddr);
 
        return 0;
 }
index 6a505de17ca7d7141968dd721a4c16b456196902..3a1402fd04900e5433db2dff2802e3235fa0e78b 100755 (executable)
@@ -527,8 +527,6 @@ a_uint8_t ath_get_minrateidx(struct ath_softc_tgt *sc, struct ath_vap_target *av
     ((*(_ah)->ah_fillTxDesc)((_ah), (_ds), (_l), (_first), (_last), (_ds0)))
 #define ath_hal_txprocdesc(_ah, _ds) \
     ((*(_ah)->ah_procTxDesc)((_ah), (_ds)))
-#define ath_hal_putrxbuf(_ah, _bufaddr) \
-    ((*(_ah)->ah_setRxDP)((_ah), (_bufaddr)))
 #define ath_hal_rxena(_ah) \
     ((*(_ah)->ah_enableReceive)((_ah)))
 #define ath_hal_stopdmarecv(_ah) \