mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacmn: disable runtime PM for monitor mode
Disable runtime PM for monitor mode Change-Id: I8d4c4f30859b01972423073ce1f7fc46d6341089 CRs-Fixed: 2509661
This commit is contained in:
parent
fafd2480fb
commit
38dbf13539
1 changed files with 4 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue