mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-10 07:29:40 +00:00
rtl8188eu: Fix crashes due to NULL pointer
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
3091828c8f
commit
b438c94ebf
1 changed files with 1 additions and 1 deletions
|
@ -1473,7 +1473,7 @@ static struct recv_frame *recvframe_defrag(struct adapter *adapter, struct __que
|
||||||
|
|
||||||
phead = get_list_head(defrag_q);
|
phead = get_list_head(defrag_q);
|
||||||
plist = phead->next;
|
plist = phead->next;
|
||||||
prframe = container_of(plist, struct recv_frame, list);
|
phhdr = container_of(plist, struct recv_frame, list);
|
||||||
prframe = (struct recv_frame *)pfhdr;
|
prframe = (struct recv_frame *)pfhdr;
|
||||||
list_del_init(&(prframe->list));
|
list_del_init(&(prframe->list));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue