소스 검색

qcacld-3.0: Fix indentation issue in sap ch select

Fix indentation issue in sap channel select to
avoid compile failures in auto branch compilers

Change-Id: Ifa92dfaaa349833d5651b7cdb66d87f039f0df36
CRs-Fixed: 2568414
gaurank kathpalia 5 년 전
부모
커밋
4bcc0a7891
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      core/sap/src/sap_ch_select.c

+ 2 - 1
core/sap/src/sap_ch_select.c

@@ -335,7 +335,7 @@ sap_process_avoid_ie(mac_handle_t mac_handle, struct sap_context *sap_ctx,
 			 * Mark weight of these channel present in IE to MAX
 			 * so that ACS logic will to avoid thse channels
 			 */
-			for (i = 0; i < spect_info->numSpectChans; i++)
+			for (i = 0; i < spect_info->numSpectChans; i++) {
 				if (spect_ch[i].chan_freq != chan_freq)
 					continue;
 				/*
@@ -349,6 +349,7 @@ sap_process_avoid_ie(mac_handle_t mac_handle, struct sap_context *sap_ctx,
 				spect_ch[i].weight_copy =
 							SAP_ACS_WEIGHT_MAX + 1;
 				break;
+			}
 		}
 
 		qdf_list_peek_next(scan_list, cur_lst, &next_lst);