|
@@ -1131,7 +1131,8 @@ static void hif_pm_runtime_start(struct hif_pci_softc *sc)
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if (mode == QDF_GLOBAL_FTM_MODE || QDF_IS_EPPING_ENABLED(mode)) {
|
|
|
+ if (mode == QDF_GLOBAL_FTM_MODE || QDF_IS_EPPING_ENABLED(mode) ||
|
|
|
+ mode == QDF_GLOBAL_MONITOR_MODE) {
|
|
|
HIF_INFO("%s: RUNTIME PM is disabled for FTM/EPPING mode\n",
|
|
|
__func__);
|
|
|
return;
|
|
@@ -1164,7 +1165,8 @@ static void hif_pm_runtime_stop(struct hif_pci_softc *sc)
|
|
|
if (!ol_sc->hif_config.enable_runtime_pm)
|
|
|
return;
|
|
|
|
|
|
- if (mode == QDF_GLOBAL_FTM_MODE || QDF_IS_EPPING_ENABLED(mode))
|
|
|
+ if (mode == QDF_GLOBAL_FTM_MODE || QDF_IS_EPPING_ENABLED(mode) ||
|
|
|
+ mode == QDF_GLOBAL_MONITOR_MODE)
|
|
|
return;
|
|
|
|
|
|
hif_runtime_exit(sc->dev);
|