From: Oleksij Rempel Date: Sat, 11 May 2013 10:44:42 +0000 (+0200) Subject: use ah_setupRxDesc directly X-Git-Tag: 1.4.0~12^2^2~37 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=4a33af89534c53f04220b65d81c7f7adca2ade78;p=open-ath9k-htc-firmware.git use ah_setupRxDesc directly Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_ath.c b/target_firmware/wlan/if_ath.c index 41ba354..7dabb5f 100755 --- a/target_firmware/wlan/if_ath.c +++ b/target_firmware/wlan/if_ath.c @@ -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); diff --git a/target_firmware/wlan/if_athvar.h b/target_firmware/wlan/if_athvar.h index 6084d9c..82792f9 100755 --- a/target_firmware/wlan/if_athvar.h +++ b/target_firmware/wlan/if_athvar.h @@ -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) \