use ah_enableReceive directly
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 08:54:18 +0000 (10:54 +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 a024574d957f44faaf6014cd98582f7481e4cc65..5c2cff8604d9fdd20f9d00b39a90ecbfe3af1746 100755 (executable)
@@ -277,7 +277,7 @@ static a_int32_t ath_rxdesc_init(struct ath_softc_tgt *sc, struct ath_rx_desc *d
                *sc->sc_rxlink = ds->ds_daddr;
        }
        sc->sc_rxlink = &ds->ds_link;
-       ath_hal_rxena(ah);
+       ah->ah_enableReceive(ah);
 
        return 0;
 }
index 2f9d0c9c71def2dedc6c7dd51eafbabce438f1cf..1609318f26540d547b01acb8221d1581f1c062c3 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_rxena(_ah) \
-    ((*(_ah)->ah_enableReceive)((_ah)))
 #define ath_hal_stoppcurecv(_ah) \
     ((*(_ah)->ah_stopPcuReceive)((_ah)))
 #define ath_hal_htsupported(_ah) \