[PATCH 17/31] build fix: make use of ath_hal_getrtsaggrlimit

Adrian Chadd adrian at freebsd.org
Fri Mar 29 11:21:45 EDT 2013


Hi,

Why are you doing a printf() here? Are you just trying to use the command
line argument?



Adrian


On 29 March 2013 02:01, Oleksij Rempel <linux at rempel-privat.de> wrote:

> Signed-off-by: Oleksij Rempel <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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/ath9k_htc_fw/attachments/20130329/7abd7dbe/attachment-0001.html>


More information about the Ath9k_htc_fw mailing list