ath10k: fix num_legacy_stations tracking
[cascardo/linux.git] / drivers / net / wireless / ath / ath10k / mac.c
index b858c82..4e30e57 100644 (file)
@@ -1615,7 +1615,7 @@ static int ath10k_station_assoc(struct ath10k *ar, struct ath10k_vif *arvif,
                return ret;
        }
 
-       if (!sta->wme) {
+       if (!sta->wme && !reassoc) {
                arvif->num_legacy_stations++;
                ret  = ath10k_recalc_rtscts_prot(arvif);
                if (ret) {