mirror of
https://github.com/chinawrj/rtl8812au
synced 2025-01-09 10:01:37 +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