mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-26 01:51:34 +00:00
Fix: comparison of address is always true
This commit is contained in:
parent
07d75162e3
commit
04166686d7
@ -381,7 +381,7 @@ void rtw_mfree_stainfo(struct sta_info *psta);
|
|||||||
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_spinlock_free(&psta->lock);
|
||||||
|
|
||||||
_rtw_free_sta_xmit_priv_lock(&psta->sta_xmitpriv);
|
_rtw_free_sta_xmit_priv_lock(&psta->sta_xmitpriv);
|
||||||
|
Loading…
Reference in New Issue
Block a user