use ah_setupRxDesc directly
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 10:44:42 +0000 (12:44 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:10:09 +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 41ba3543023eee7dff2461e17eed2fec4f46b82e..7dabb5f1e89717dc94f7ad5c10cf8cb92950be94 100755 (executable)
@@ -266,7 +266,7 @@ static a_int32_t ath_rxdesc_init(struct ath_softc_tgt *sc, struct ath_rx_desc *d
        ds->ds_link = 0;
        adf_nbuf_peek_header(ds->ds_nbuf, &anbdata, &anblen);
 
-       ath_hal_setuprxdesc(ah, ds,
+       ah->ah_setupRxDesc(ah, ds,
                            adf_nbuf_tailroom(ds->ds_nbuf),
                            0);
 
index 6084d9cf49743027228b7b4a036b12079354e726..82792f94fedb80588ab2052d3154b5c2e1cdab28 100755 (executable)
@@ -489,8 +489,6 @@ typedef enum {
 
 a_uint8_t ath_get_minrateidx(struct ath_softc_tgt *sc, struct ath_vap_target *avp);
 
-#define ath_hal_setuprxdesc(_ah, _ds, _size, _intreq) \
-    ((*(_ah)->ah_setupRxDesc)((_ah), (_ds), (_size), (_intreq)))
 #define ath_hal_rxprocdescfast(_ah, _ds, _dspa, _dsnext, _rx_stats) \
     ((*(_ah)->ah_procRxDescFast)((_ah), (_ds), (_dspa), (_dsnext), (_rx_stats)))
 #define ath_hal_set11n_virtualmorefrag(_ah, _ds, _vmf) \