build fix: add missing type converter ATH_NODE_TARGET
authorOleksij Rempel <linux@rempel-privat.de>
Sun, 7 Apr 2013 15:22:16 +0000 (17:22 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sun, 7 Apr 2013 15:22:16 +0000 (17:22 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/ratectrl_11n_ln.c

index 5e123764c4f3f8194b8df1a768c78d7236b477dc..4d7f60f5b2de1b43a47131ecfd2779b43855ae04 100755 (executable)
@@ -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