Pārlūkot izejas kodu

qcacld-3.0: Update mgmt_param.pdata when frame is re-allocated

In function wma_tx_packet, update mgmt_param.pdata when frame's nbug  is
re-allocated to accommodate MMIE or CCMP header.

Change-Id: Ib83457ee52f8c9b52eb9d8b4bc472ed48689ede3
CRs-Fixed: 1109668
Naveen Rawat 8 gadi atpakaļ
vecāks
revīzija
67d60b3827
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      core/wma/src/wma_data.c

+ 2 - 0
core/wma/src/wma_data.c

@@ -2609,6 +2609,7 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen,
 
 				cds_packet_free((void *)tx_frame);
 				tx_frame = pPacket;
+				pData = pFrame;
 				frmLen = newFrmLen;
 			}
 		} else {
@@ -2648,6 +2649,7 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen,
 			}
 			cds_packet_free((void *)tx_frame);
 			tx_frame = pPacket;
+			pData = pFrame;
 			frmLen = newFrmLen;
 		}
 	}