[PATCH 17/31] build fix: make use of ath_hal_getrtsaggrlimit
Oleksij Rempel
linux at rempel-privat.de
Fri Mar 29 11:45:46 EDT 2013
Am 29.03.2013 16:21, schrieb Adrian Chadd:
> Hi,
>
> Why are you doing a printf() here? Are you just trying to use the
> command line argument?
I used Eugens suggestion here.
Currently this call do nothing. It is possible to use it for debuging or
just removed. What is your suggestion?
> Adrian
>
>
> On 29 March 2013 02:01, Oleksij Rempel <linux at rempel-privat.de
> <mailto:linux at rempel-privat.de>> wrote:
>
> Signed-off-by: Oleksij Rempel <linux at rempel-privat.de
> <mailto:linux at rempel-privat.de>>
> ---
> target_firmware/wlan/if_owl.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/target_firmware/wlan/if_owl.c
> b/target_firmware/wlan/if_owl.c
> index e42e6be..b856df8 100755
> --- a/target_firmware/wlan/if_owl.c
> +++ b/target_firmware/wlan/if_owl.c
> @@ -367,7 +367,9 @@ static void ath_buf_set_rate(struct
> ath_softc_tgt *sc, struct ath_tx_buf *bf)
> }
> }
>
> - ath_hal_getrtsaggrlimit(sc->sc_ah, &aggr_limit_with_rts);
> + if (ath_hal_getrtsaggrlimit(sc->sc_ah, &aggr_limit_with_rts)) {
> + adf_os_print("ath_hal_getrtsaggrlimit failed\n");
> + }
>
> if (bf->bf_isaggr && aggr_limit_with_rts &&
> bf->bf_al > aggr_limit_with_rts) {
> --
> 1.8.1.2
>
>
--
Regards,
Oleksij
More information about the Ath9k_htc_fw
mailing list