소스 검색

qcacld-3.0: Don't free pkt if wma fails to tx disassoc mgmt frame

In WMA layer, if host fails to send disassoc mgmt to FW, host checks return
status of wma_tx_packet() and frees memory allocated for packet in LIM.
As host already takes care of packet freeing in wma_tx_packet(), don't free
packet in LIM if wma_tx_packet() returns failure.

Change-Id: I912a452edadf83936a9ac6120bd45efa9abde173
CRs-Fixed: 2826655
Abhishek Ambure 4 년 전
부모
커밋
31c43a2b51
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      core/mac/src/pe/lim/lim_send_management_frames.c

+ 0 - 1
core/mac/src/pe/lim/lim_send_management_frames.c

@@ -3580,7 +3580,6 @@ lim_send_disassoc_mgmt_frame(struct mac_context *mac,
 
 		if (QDF_IS_STATUS_ERROR(qdf_status)) {
 			pe_err("Failed to send disassoc frame");
-			lim_tx_complete(mac, pPacket, true);
 			lim_send_disassoc_cnf(mac);
 			return;
 		}