[PATCH 17/31] build fix: make use of ath_hal_getrtsaggrlimit
Oleksij Rempel
linux at rempel-privat.de
Fri Mar 29 05:01:51 EDT 2013
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
More information about the Ath9k_htc_fw
mailing list