소스 검색

qcacmn: Fix driver crash observed during AFC request processing

Currently the AFC request buffer is being freed twice in
reg_free_expiry_afc_info and tgt_afc_event_handler.
Make changes to free the AFC req buffer only once.

Change-Id: I6d0f5c783a124da40eae6166132f7d7132cf76e4
Hariharan Basuthkar 3 년 전
부모
커밋
8c2dd12d3c
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      umac/regulatory/core/src/reg_build_chan_list.c

+ 0 - 1
umac/regulatory/core/src/reg_build_chan_list.c

@@ -2378,7 +2378,6 @@ static void reg_disable_afc_mas_chan_list_channels(
 static void reg_free_expiry_afc_info(struct afc_regulatory_info *afc_info)
 {
 	qdf_mem_free(afc_info->expiry_info);
-	qdf_mem_free(afc_info);
 }
 
 /**