qcacmn: Remove QDF_FTM_MODE from runtime pm code

QDF_FTM_MODE is deprecated. QDF_GLOBAL_FTM_MODE is the enum for the
ftm driver mode now.

Change-Id: I8783fb2d3748ed08995b3b13eaf69a7a1c40c22b
CRs-Fixed: 991822
Tento commit je obsažen v:
Rajeev Kumar
2016-04-14 17:00:43 -07:00
odevzdal Gerrit - the friendly Code Review server
rodič 74f7764f61
revize 6f8012b2aa

Zobrazit soubor

@@ -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);