diff --git a/umac/regulatory/dispatcher/inc/wlan_reg_services_api.h b/umac/regulatory/dispatcher/inc/wlan_reg_services_api.h index fa05c46f94..9f8d3d7386 100644 --- a/umac/regulatory/dispatcher/inc/wlan_reg_services_api.h +++ b/umac/regulatory/dispatcher/inc/wlan_reg_services_api.h @@ -1470,17 +1470,6 @@ wlan_reg_get_2g_bonded_channel_state_for_freq(struct wlan_objmgr_pdev *pdev, qdf_freq_t sec_ch_freq, enum phy_ch_width bw); -/** - * wlan_reg_get_channel_state_for_freq() - Get channel state from regulatory - * @pdev: Pointer to pdev - * @freq: channel center frequency. - * - * Return: channel state - */ -enum channel_state -wlan_reg_get_channel_state_for_freq(struct wlan_objmgr_pdev *pdev, - qdf_freq_t freq); - #ifdef CONFIG_REG_6G_PWRMODE /** * wlan_reg_get_channel_state_for_pwrmode() - Get channel state from regulatory diff --git a/umac/regulatory/dispatcher/src/wlan_reg_services_api.c b/umac/regulatory/dispatcher/src/wlan_reg_services_api.c index c0114d1e38..b37a55bd97 100644 --- a/umac/regulatory/dispatcher/src/wlan_reg_services_api.c +++ b/umac/regulatory/dispatcher/src/wlan_reg_services_api.c @@ -1334,13 +1334,6 @@ void wlan_reg_set_create_punc_bitmap(struct ch_params *ch_params, } #endif /* WLAN_FEATURE_11BE */ -enum channel_state -wlan_reg_get_channel_state_for_freq(struct wlan_objmgr_pdev *pdev, - qdf_freq_t freq) -{ - return reg_get_channel_state_for_freq(pdev, freq); -} - #ifdef CONFIG_REG_6G_PWRMODE enum channel_state wlan_reg_get_channel_state_for_pwrmode(struct wlan_objmgr_pdev *pdev,