Fix: comparison of address is always true

This commit is contained in:
Rin Cat 2020-08-02 06:39:55 -04:00
parent 07d75162e3
commit 04166686d7
No known key found for this signature in database
GPG Key ID: 7E93675C2BDBB222

View File

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