From b438c94ebfb254b67cd0468b7c77f984b5c91c24 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Wed, 19 Aug 2015 09:06:28 -0500 Subject: [PATCH] rtl8188eu: Fix crashes due to NULL pointer Signed-off-by: Larry Finger --- core/rtw_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rtw_recv.c b/core/rtw_recv.c index 1c37e54..835c4c8 100644 --- a/core/rtw_recv.c +++ b/core/rtw_recv.c @@ -1473,7 +1473,7 @@ static struct recv_frame *recvframe_defrag(struct adapter *adapter, struct __que phead = get_list_head(defrag_q); plist = phead->next; - prframe = container_of(plist, struct recv_frame, list); + phhdr = container_of(plist, struct recv_frame, list); prframe = (struct recv_frame *)pfhdr; list_del_init(&(prframe->list));