use ah_set11nAggrLast directly
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 10:13:49 +0000 (12:13 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:10:08 +0000 (16:10 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/if_athvar.h
target_firmware/wlan/if_owl.c

index 909b3f2c11d0421a59ecd6a8cb3132482ea04340..cd56d2307045663972b4feb8ff94ba88b2ca12b1 100755 (executable)
@@ -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 */
index f1876e239cd909e571e89f1499b25d3bfefc5b28..19d7a44b3c896d3fe01d45367f65eb6df8d03eb1 100755 (executable)
@@ -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);