From 608dbab8e3501a847f3d17ee1bd34b064a658aa1 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sun, 31 Mar 2013 18:08:32 +0200 Subject: [PATCH] build fix: use ath_tx_desc in ar5416Set11nBurstDuration_20 Signed-off-by: Oleksij Rempel --- target_firmware/wlan/ah.h | 2 +- target_firmware/wlan/ar5416_hw.c | 2 +- target_firmware/wlan/ar5416desc.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target_firmware/wlan/ah.h b/target_firmware/wlan/ah.h index 31b63cf..82b7966 100755 --- a/target_firmware/wlan/ah.h +++ b/target_firmware/wlan/ah.h @@ -424,7 +424,7 @@ struct ath_hal void __ahdecl(*ah_clr11nAggr)(struct ath_hal *ah, struct ath_tx_desc *ds); void __ahdecl(*ah_set11nBurstDuration)(struct ath_hal *ah, - struct ath_desc *ds, + struct ath_tx_desc *ds, a_uint32_t burstDuration); void __ahdecl(*ah_set11nVirtualMoreFrag)(struct ath_hal *ah, struct ath_desc *ds, a_uint32_t vmf); diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index 432abf0..cb52ed2 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -1120,7 +1120,7 @@ void ar5416Clr11nAggr_20(struct ath_hal *ah, struct ath_tx_desc *ds) ads->ds_ctl1 &= (~AR_IsAggr & ~AR_MoreAggr); } -void ar5416Set11nBurstDuration_20(struct ath_hal *ah, struct ath_desc *ds, +void ar5416Set11nBurstDuration_20(struct ath_hal *ah, struct ath_tx_desc *ds, a_uint32_t burstDuration) { struct ar5416_desc *ads = AR5416DESC(ds); diff --git a/target_firmware/wlan/ar5416desc.h b/target_firmware/wlan/ar5416desc.h index 1d11381..65e80a3 100755 --- a/target_firmware/wlan/ar5416desc.h +++ b/target_firmware/wlan/ar5416desc.h @@ -487,7 +487,7 @@ extern void ar5416Set11nAggrMiddle_20(struct ath_hal *ah, struct ath_desc *ds, a_uint32_t numDelims); extern void ar5416Set11nAggrLast_20(struct ath_hal *ah, struct ath_desc *ds); extern void ar5416Clr11nAggr_20(struct ath_hal *ah, struct ath_tx_desc *ds); -extern void ar5416Set11nBurstDuration_20(struct ath_hal *ah, struct ath_desc *ds, +extern void ar5416Set11nBurstDuration_20(struct ath_hal *ah, struct ath_tx_desc *ds, a_uint32_t burstDuration); extern void ar5416Set11nVirtualMoreFrag_20(struct ath_hal *ah, struct ath_desc *ds, a_uint32_t vmf); -- 2.25.1