Merge branch 'v5.3.9' into v5.3.9

This commit is contained in:
Christian Bremvåg
2019-05-24 16:55:38 +02:00
committed by GitHub
4 changed files with 34 additions and 4 deletions

View File

@@ -775,6 +775,10 @@ u32 rtw_free_stainfo(_adapter *padapter , struct sta_info *psta)
pstapriv->sta_aid[psta->cmn.aid - 1] = NULL;
psta->cmn.aid = 0;
}
if (psta->aid > 31) {
pr_err("***** psta->aid (%d) out of bounds\n", psta->aid);
return _FAIL;
}
}
#endif /* CONFIG_NATIVEAP_MLME */