From: Oleksij Rempel Date: Sat, 11 May 2013 10:13:49 +0000 (+0200) Subject: use ah_set11nAggrLast directly X-Git-Tag: 1.4.0~12^2^2~40 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=9e8e26c261c4c0211cf0c3cf8da4342e2013caaf;p=open-ath9k-htc-firmware.git use ah_set11nAggrLast directly Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_athvar.h b/target_firmware/wlan/if_athvar.h index 909b3f2..cd56d23 100755 --- a/target_firmware/wlan/if_athvar.h +++ b/target_firmware/wlan/if_athvar.h @@ -517,7 +517,5 @@ a_uint8_t ath_get_minrateidx(struct ath_softc_tgt *sc, struct ath_vap_target *av (ath_hal_getcapability(_ah, HAL_CAP_HT, 0, NULL) == HAL_OK) #define ath_hal_getrtsaggrlimit(_ah, _pv) \ (ath_hal_getcapability(_ah, HAL_CAP_RTS_AGGR_LIMIT, 0, _pv) == HAL_OK) -#define ath_hal_set11n_aggr_last(_ah, _ds) \ - ((*(_ah)->ah_set11nAggrLast)(_ah, _ds)) #endif /* _DEV_ATH_ATHVAR_H */ diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c index f1876e2..19d7a44 100755 --- a/target_firmware/wlan/if_owl.c +++ b/target_firmware/wlan/if_owl.c @@ -1429,7 +1429,7 @@ ath_tgt_tx_sched_aggr(struct ath_softc_tgt *sc, ath_atx_tid_t *tid) bf->bf_lastds = bf_last->bf_lastds; for (i = 0; i < bf_last->bf_dmamap_info.nsegs; i++) - ath_hal_set11n_aggr_last(sc->sc_ah, &bf_last->bf_descarr[i]); + ah->ah_set11nAggrLast(ah, &bf_last->bf_descarr[i]); if (status == ATH_AGGR_8K_LIMITED) { adf_os_assert(0);