From: Oleksij Rempel Date: Sun, 7 Apr 2013 15:22:16 +0000 (+0200) Subject: build fix: add missing type converter ATH_NODE_TARGET X-Git-Tag: 1.3.2~7^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7adecf60f6cde7bebd0e5381c9657fd5aef6f003;p=librecmc%2Fopen-ath9k-htc-firmware.git build fix: add missing type converter ATH_NODE_TARGET Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/ratectrl_11n_ln.c b/target_firmware/wlan/ratectrl_11n_ln.c index 5e12376..4d7f60f 100755 --- a/target_firmware/wlan/ratectrl_11n_ln.c +++ b/target_firmware/wlan/ratectrl_11n_ln.c @@ -1161,7 +1161,7 @@ ath_rate_newstate(struct ath_softc_tgt *sc, struct atheros_softc *asc = (struct atheros_softc *) sc->sc_rc; asc->tx_chainmask = sc->sc_ic.ic_tx_chainmask; - ath_rate_newassoc(sc, ni, 1, capflag, rs); + ath_rate_newassoc(sc, ATH_NODE_TARGET(ni), 1, capflag, rs); } static void