aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/rtl8712/rtl8712_recv.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/staging/rtl8712/rtl8712_recv.c b/drivers/staging/rtl8712/rtl8712_recv.c
index 27f38acc2d62..cd8b444b255b 100644
--- a/drivers/staging/rtl8712/rtl8712_recv.c
+++ b/drivers/staging/rtl8712/rtl8712_recv.c
@@ -522,11 +522,10 @@ int r8712_recv_indicatepkts_in_order(struct _adapter *padapter,
522 if (bforced == true) { 522 if (bforced == true) {
523 if (list_empty(phead)) 523 if (list_empty(phead))
524 return true; 524 return true;
525 else { 525
526 prframe = LIST_CONTAINOR(plist, union recv_frame, u); 526 prframe = LIST_CONTAINOR(plist, union recv_frame, u);
527 pattrib = &prframe->u.hdr.attrib; 527 pattrib = &prframe->u.hdr.attrib;
528 preorder_ctrl->indicate_seq = pattrib->seq_num; 528 preorder_ctrl->indicate_seq = pattrib->seq_num;
529 }
530 } 529 }
531 /* Prepare indication list and indication. 530 /* Prepare indication list and indication.
532 * Check if there is any packet need indicate. */ 531 * Check if there is any packet need indicate. */