qcacmn: Cleanup for function wlan_reg_is_dfs_ch()

Replace wlan_reg_is_dfs_ch() with wlan_reg_is_dfs_for_freq()

Change-Id: Idb40beeea3ba07e133f3346b46998ae9ac549ba7
CRs-Fixed: 2615754
This commit is contained in:
Amruta Kulkarni
2020-01-23 18:08:51 -08:00
zatwierdzone przez nshrivas
rodzic dbf2ff57bc
commit 65f217ba99
4 zmienionych plików z 4 dodań i 34 usunięć

Wyświetl plik

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -682,15 +682,6 @@ void wlan_reg_update_nol_ch(struct wlan_objmgr_pdev *pdev,
uint8_t num_ch,
bool nol_ch);
/**
* wlan_reg_is_dfs_ch () - Checks the channel state for DFS
* @pdev: pdev ptr
* @chan: channel
*
* Return: true or false
*/
bool wlan_reg_is_dfs_ch(struct wlan_objmgr_pdev *pdev, uint8_t chan);
/**
* wlan_reg_is_dsrc_chan () - Checks if the channel is dsrc channel or not
* @pdev: pdev ptr

Wyświetl plik

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
*
*
* Permission to use, copy, modify, and/or distribute this software for
@@ -488,12 +488,6 @@ void wlan_reg_update_nol_history_ch(struct wlan_objmgr_pdev *pdev,
reg_update_nol_history_ch(pdev, ch_list, num_ch, nol_history_ch);
}
bool wlan_reg_is_dfs_ch(struct wlan_objmgr_pdev *pdev,
uint8_t chan)
{
return reg_is_dfs_ch(pdev, chan);
}
bool wlan_reg_is_passive_or_disable_ch(struct wlan_objmgr_pdev *pdev,
uint8_t chan)
{