remove unused variables in ath_hal_getcapability
[open-ath9k-htc-firmware.git] / target_firmware / wlan / if_ath.c
index 53b15cd1f34760ea9c2b36a9a81b2b7c1d75cb96..aa43c23238ddd417ae894bc686adceaaff631e01 100755 (executable)
@@ -1132,7 +1132,7 @@ static void ath_init_tgt(void *Context, A_UINT16 Command,
 
        sc->sc_imask |= HAL_INT_GTT;
 
-       if (ath_hal_htsupported(ah))
+       if (ath_hal_getcapability(ah, HAL_CAP_HT))
                sc->sc_imask |= HAL_INT_CST;
 
        adf_os_setup_intr(sc->sc_dev, ath_intr);