Merge pull request #27 from xypron/rtw_mfree_stainfo

rtl8723ds: fix rtw_mfree_stainfo()
This commit is contained in:
lwfinger
2022-10-20 10:01:13 -05:00
committed by GitHub

View File

@@ -335,9 +335,7 @@ void rtw_mfree_stainfo(struct sta_info *psta);
void rtw_mfree_stainfo(struct sta_info *psta)
{
if (&psta->lock != NULL)
_rtw_spinlock_free(&psta->lock);
_rtw_spinlock_free(&psta->lock);
_rtw_free_sta_xmit_priv_lock(&psta->sta_xmitpriv);
_rtw_free_sta_recv_priv_lock(&psta->sta_recvpriv);