Просмотр исходного кода

qcacld-3.0: Enable power saving for FTM mode

Currently ASPM is not enabled for FTM mode. Enable it to test low power
mode in FTM.

CRS-Fixed: 2491207
Change-Id: I997225d33c94ed870dda2354bac256d9d1ca855d
Mahesh Kumar Kalikot Veetil 5 лет назад
Родитель
Сommit
59a9a78079
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      core/hdd/src/wlan_hdd_main.c

+ 1 - 0
core/hdd/src/wlan_hdd_main.c

@@ -3002,6 +3002,7 @@ int hdd_wlan_start_modules(struct hdd_context *hdd_ctx, bool reinit)
 		hdd_update_hw_sw_info(hdd_ctx);
 
 		if (QDF_GLOBAL_FTM_MODE == hdd_get_conparam()) {
+			hdd_enable_power_management();
 			hdd_err("in ftm mode, no need to configure cds modules");
 			ret = -EINVAL;
 			break;