mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-26 15:14:02 +00:00
Fix a possible NUMM dereference
This commit is contained in:
parent
8a9ae52aea
commit
72f409d750
@ -2017,7 +2017,9 @@ s32 rtw_txframes_sta_ac_pending(_adapter *padapter, struct pkt_attrib *pattrib)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return ptxservq->qcnt;
|
if (ptxservq)
|
||||||
|
return ptxservq->qcnt;
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_TDLS
|
#ifdef CONFIG_TDLS
|
||||||
|
Loading…
Reference in New Issue
Block a user