From a12d19d67b502ba861e4a8f90fef08147a2843b7 Mon Sep 17 00:00:00 2001 From: Hariharan Basuthkar Date: Fri, 28 Dec 2018 18:08:55 +0530 Subject: [PATCH] qcacmn: Change utils_fill_dfs_chan_info to dfs_fill_chan_info Change the name of utils_fill_dfs_chan_info to dfs_fill_chan_info since it is not used by any components other than DFS. Change-Id: I91e8d2326a830303fbad4564aa13655e50caa4c4 CRs-Fixed: 2375672 --- umac/dfs/dispatcher/src/wlan_dfs_utils_api.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/umac/dfs/dispatcher/src/wlan_dfs_utils_api.c b/umac/dfs/dispatcher/src/wlan_dfs_utils_api.c index ed09e5e1d186..64392ada9e64 100644 --- a/umac/dfs/dispatcher/src/wlan_dfs_utils_api.c +++ b/umac/dfs/dispatcher/src/wlan_dfs_utils_api.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved. * * * Permission to use, copy, modify, and/or distribute this software for @@ -212,15 +212,15 @@ void utils_dfs_clear_cac_started_chan(struct wlan_objmgr_pdev *pdev) dfs_clear_cac_started_chan(dfs); } -/** utils_fill_dfs_chan_info() - Fill the dfs channel structure with wlan +/** dfs_fill_chan_info() - Fill the dfs channel structure with wlan * channel. * @chan: Pointer to DFS channel structure. * @wlan_chan: Pointer to WLAN Channel structure. * * Return: void */ -static void utils_fill_dfs_chan_info(struct dfs_channel *chan, - struct wlan_channel *wlan_chan) +static void dfs_fill_chan_info(struct dfs_channel *chan, + struct wlan_channel *wlan_chan) { chan->dfs_ch_freq = wlan_chan->ch_freq; chan->dfs_ch_flags = wlan_chan->ch_flags; @@ -239,7 +239,9 @@ bool utils_dfs_is_precac_done(struct wlan_objmgr_pdev *pdev, dfs = wlan_pdev_get_dfs_obj(pdev); if (!dfs) return false; - utils_fill_dfs_chan_info(&chan, wlan_chan); + + dfs_fill_chan_info(&chan, wlan_chan); + return dfs_is_precac_done(dfs, &chan); }