rtl8188eu: Fix crashes due to NULL pointer

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-08-19 09:06:28 -05:00
parent 3091828c8f
commit b438c94ebf

View file

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