X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=target_firmware%2Fwlan%2Fratectrl_11n_ln.c;h=bf4b9453efffe7d4713b37cd797a8db4f8e90cf4;hb=refs%2Fpull%2F106%2Fhead;hp=93588237206469ad76ac733f1992b6fa77940fea;hpb=c6ce9d3cba6451b379144440c420132efde28c5a;p=open-ath9k-htc-firmware.git diff --git a/target_firmware/wlan/ratectrl_11n_ln.c b/target_firmware/wlan/ratectrl_11n_ln.c index 9358823..bf4b945 100755 --- a/target_firmware/wlan/ratectrl_11n_ln.c +++ b/target_firmware/wlan/ratectrl_11n_ln.c @@ -423,7 +423,6 @@ static A_UINT8 rcRateFind_ht(struct ath_softc_tgt *sc, struct atheros_node *pSib, const RATE_TABLE_11N *pRateTable, A_BOOL probeAllowed, A_BOOL *isProbing) { - A_UINT32 dt; A_UINT32 bestThruput, thisThruput; A_UINT32 nowMsec; A_UINT8 rate, nextRate, bestRate; @@ -445,7 +444,6 @@ rcRateFind_ht(struct ath_softc_tgt *sc, struct atheros_node *pSib, */ nowMsec = A_MS_TICKGET(); - dt = nowMsec - pRc->rssiTime; /* * Now look up the rate in the rssi table and return it.