Browse Source

qcacld-3.0: Only drop the retry auth frame

Currently DUT dropped the auth response frame from
AP because AP is sending 2 different auth response
fames with the same sequence number 0.

Change-Id: I64f05137a34fb3e4554011b032afebed251daba3
CRs-Fixed: 2166008
Paul Zhang 7 years ago
parent
commit
3b6e004f78
1 changed files with 2 additions and 1 deletions
  1. 2 1
      core/mac/src/pe/lim/lim_process_auth_frame.c

+ 2 - 1
core/mac/src/pe/lim/lim_process_auth_frame.c

@@ -1096,7 +1096,8 @@ lim_process_auth_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
 		pe_session->limMlmState, MAC_ADDR_ARRAY(mac_hdr->bssId),
 		(uint) abs((int8_t) WMA_GET_RX_RSSI_NORMALIZED(rx_pkt_info)));
 
-	if (pe_session->prev_auth_seq_num == curr_seq_num) {
+	if (pe_session->prev_auth_seq_num == curr_seq_num &&
+	    mac_hdr->fc.retry) {
 		pe_err("auth frame, seq num: %d is already processed, drop it",
 			curr_seq_num);
 		return;