Fix a possible NUMM dereference

This commit is contained in:
kimocoder 2020-07-12 01:17:12 +00:00
parent 8a9ae52aea
commit 72f409d750

View File

@ -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