|
@@ -1065,7 +1065,7 @@ static void hif_pm_runtime_start(struct hif_pci_softc *sc)
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if (mode == QDF_FTM_MODE || WLAN_IS_EPPING_ENABLED(mode)) {
|
|
|
+ if (mode == QDF_GLOBAL_FTM_MODE || WLAN_IS_EPPING_ENABLED(mode)) {
|
|
|
HIF_INFO("%s: RUNTIME PM is disabled for FTM/EPPING mode\n",
|
|
|
__func__);
|
|
|
return;
|
|
@@ -1097,7 +1097,7 @@ static void hif_pm_runtime_stop(struct hif_pci_softc *sc)
|
|
|
if (!ol_sc->hif_config.enable_runtime_pm)
|
|
|
return;
|
|
|
|
|
|
- if (mode == QDF_FTM_MODE || WLAN_IS_EPPING_ENABLED(mode))
|
|
|
+ if (mode == QDF_GLOBAL_FTM_MODE || WLAN_IS_EPPING_ENABLED(mode))
|
|
|
return;
|
|
|
|
|
|
cnss_runtime_exit(sc->dev);
|