mirror of
https://github.com/amazingfate/rtl8723ds.git
synced 2025-10-13 20:36:03 +01:00
Merge pull request #27 from xypron/rtw_mfree_stainfo
rtl8723ds: fix rtw_mfree_stainfo()
This commit is contained in:
commit
912fdb3053
@ -335,9 +335,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)
|
_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);
|
||||||
_rtw_free_sta_recv_priv_lock(&psta->sta_recvpriv);
|
_rtw_free_sta_recv_priv_lock(&psta->sta_recvpriv);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user