diff --git a/umac/regulatory/core/src/reg_services.c b/umac/regulatory/core/src/reg_services.c index 9cf492bf9a9f..f46a7247a3b1 100644 --- a/umac/regulatory/core/src/reg_services.c +++ b/umac/regulatory/core/src/reg_services.c @@ -1418,12 +1418,12 @@ QDF_STATUS reg_reset_country(struct wlan_objmgr_psoc *psoc) } /** - * reg_get_dfs_region () - Get the current dfs region + * reg_get_current_dfs_region () - Get the current dfs region * @dfs_reg: pointer to dfs region * * Return: None */ -void reg_get_dfs_region(struct wlan_objmgr_pdev *pdev, +void reg_get_current_dfs_region(struct wlan_objmgr_pdev *pdev, enum dfs_reg *dfs_reg) { struct wlan_regulatory_pdev_priv_obj *pdev_priv_obj; diff --git a/umac/regulatory/core/src/reg_services.h b/umac/regulatory/core/src/reg_services.h index ce8ce69adf30..7cc1ce7821eb 100644 --- a/umac/regulatory/core/src/reg_services.h +++ b/umac/regulatory/core/src/reg_services.h @@ -180,7 +180,7 @@ QDF_STATUS reg_reset_country(struct wlan_objmgr_psoc *psoc); QDF_STATUS reg_enable_dfs_channels(struct wlan_objmgr_pdev *pdev, bool enable); -void reg_get_dfs_region(struct wlan_objmgr_pdev *pdev, +void reg_get_current_dfs_region(struct wlan_objmgr_pdev *pdev, enum dfs_reg *dfs_reg); uint32_t reg_get_channel_reg_power(struct wlan_objmgr_pdev *pdev, diff --git a/umac/regulatory/dispatcher/src/wlan_reg_services_api.c b/umac/regulatory/dispatcher/src/wlan_reg_services_api.c index 3c894d7af417..ba07ca7167c2 100644 --- a/umac/regulatory/dispatcher/src/wlan_reg_services_api.c +++ b/umac/regulatory/dispatcher/src/wlan_reg_services_api.c @@ -140,7 +140,7 @@ QDF_STATUS wlan_reg_get_dfs_region(struct wlan_objmgr_pdev *pdev, /* * Get the current dfs region */ - reg_get_dfs_region(pdev, dfs_reg); + reg_get_current_dfs_region(pdev, dfs_reg); return QDF_STATUS_SUCCESS; }