qcacld-3.0: Rename pmo_ucfg_* APIs to ucfg_pmo_* APIs
Rename pmo_ucfg_is_vdev_connected to ucfg_pmo_is_vdev_connected
to match existing naming convention for component ucfg APIs.
Change-Id: Idd04103664135f226881b07263365d70df5790e0
CRs-Fixed: 2135888
diff --git a/components/pmo/dispatcher/inc/wlan_pmo_ucfg_api.h b/components/pmo/dispatcher/inc/wlan_pmo_ucfg_api.h
index 88d4786..b7b2319 100644
--- a/components/pmo/dispatcher/inc/wlan_pmo_ucfg_api.h
+++ b/components/pmo/dispatcher/inc/wlan_pmo_ucfg_api.h
@@ -44,12 +44,12 @@
enum tQDF_ADAPTER_MODE vdev_opmode);
/**
- * pmo_ucfg_is_vdev_connected() - to check whether peer is associated or not
+ * ucfg_pmo_is_vdev_connected() - to check whether peer is associated or not
* @vdev: objmgr vdev
*
* Return: true in case success else false
*/
-bool pmo_ucfg_is_vdev_connected(struct wlan_objmgr_vdev *vdev);
+bool ucfg_pmo_is_vdev_connected(struct wlan_objmgr_vdev *vdev);
/**
* pmo_ucfg_is_vdev_supports_offload() - check offload is supported on vdev
diff --git a/components/pmo/dispatcher/src/wlan_pmo_ucfg_api.c b/components/pmo/dispatcher/src/wlan_pmo_ucfg_api.c
index 2e329ad..423671f 100644
--- a/components/pmo/dispatcher/src/wlan_pmo_ucfg_api.c
+++ b/components/pmo/dispatcher/src/wlan_pmo_ucfg_api.c
@@ -49,7 +49,7 @@
return pmo_core_is_ap_mode_supports_arp_ns(psoc, vdev_opmode);
}
-bool pmo_ucfg_is_vdev_connected(struct wlan_objmgr_vdev *vdev)
+bool ucfg_pmo_is_vdev_connected(struct wlan_objmgr_vdev *vdev)
{
return pmo_core_is_vdev_connected(vdev);
}
diff --git a/core/hdd/src/wlan_hdd_power.c b/core/hdd/src/wlan_hdd_power.c
index 0cb39cc..ebcc0f1 100644
--- a/core/hdd/src/wlan_hdd_power.c
+++ b/core/hdd/src/wlan_hdd_power.c
@@ -537,7 +537,7 @@
goto out;
}
- if (!pmo_ucfg_is_vdev_connected(adapter->hdd_vdev)) {
+ if (!ucfg_pmo_is_vdev_connected(adapter->hdd_vdev)) {
hdd_info("vdev is not connected");
goto out;
}
@@ -564,7 +564,7 @@
goto out;
}
- if (!pmo_ucfg_is_vdev_connected(adapter->hdd_vdev)) {
+ if (!ucfg_pmo_is_vdev_connected(adapter->hdd_vdev)) {
hdd_info("vdev is not connected");
goto out;
}