Browse Source

qcacld-3.0: Remove sme_handle_dfs_chan_scan()

Change I994e53b17788472de979df9dce9e18c6f68de850 ("qcacld-3.0: Add
support for regulatory component ucfg apis") removed the last client
of sme_handle_dfs_chan_scan(). Since this function is now unused,
remove it.

Change-Id: Id4bad555c0cd52c736c7c934e4892953dc27c582
CRs-Fixed: 2371151
Jeff Johnson 6 years ago
parent
commit
de8c2392e1
2 changed files with 0 additions and 27 deletions
  1. 0 1
      core/sme/inc/sme_api.h
  2. 0 26
      core/sme/src/common/sme_api.c

+ 0 - 1
core/sme/inc/sme_api.h

@@ -1275,7 +1275,6 @@ QDF_STATUS sme_set_dhcp_srv_offload(mac_handle_t mac_handle,
 QDF_STATUS sme_set_led_flashing(mac_handle_t mac_handle, uint8_t type,
 		uint32_t x0, uint32_t x1);
 #endif
-QDF_STATUS sme_handle_dfs_chan_scan(mac_handle_t mac_handle, uint8_t dfs_flag);
 QDF_STATUS sme_enable_dfs_chan_scan(mac_handle_t mac_handle, uint8_t dfs_flag);
 QDF_STATUS sme_set_mas(uint32_t val);
 QDF_STATUS sme_set_miracast(mac_handle_t mac_handle, uint8_t filter_type);

+ 0 - 26
core/sme/src/common/sme_api.c

@@ -11365,32 +11365,6 @@ QDF_STATUS sme_set_led_flashing(mac_handle_t mac_handle, uint8_t type,
 }
 #endif
 
-/**
- *  sme_handle_dfS_chan_scan() - handle DFS channel configuration
- *  @mac_handle:         corestack handler
- *  @dfs_flag:      flag indicating dfs channel enable/disable
- *  Return:         QDF_STATUS
- */
-QDF_STATUS sme_handle_dfs_chan_scan(mac_handle_t mac_handle, uint8_t dfs_flag)
-{
-	QDF_STATUS status = QDF_STATUS_SUCCESS;
-	struct mac_context *mac  = MAC_CONTEXT(mac_handle);
-
-	status = sme_acquire_global_lock(&mac->sme);
-
-	if (QDF_STATUS_SUCCESS == status) {
-
-		mac->scan.fEnableDFSChnlScan = dfs_flag;
-
-		/* update the channel list to the firmware */
-		status = csr_update_channel_list(mac);
-
-		sme_release_global_lock(&mac->sme);
-	}
-
-	return status;
-}
-
 /**
  *  sme_enable_dfS_chan_scan() - set DFS channel scan enable/disable
  *  @mac_handle:         corestack handler