Pārlūkot izejas kodu

qcacld-3.0: Remove obsolete hdd_conn_get_connected_bss_type()

Function hdd_conn_get_connected_bss_type() is no longer being used, so
remove it.

Change-Id: I0aafea43631d0ab8d3a99d8e913392f6090cd124
CRs-Fixed: 1073739
Jeff Johnson 8 gadi atpakaļ
vecāks
revīzija
229416002f
2 mainītis faili ar 0 papildinājumiem un 34 dzēšanām
  1. 0 11
      core/hdd/inc/wlan_hdd_assoc.h
  2. 0 23
      core/hdd/src/wlan_hdd_assoc.c

+ 0 - 11
core/hdd/inc/wlan_hdd_assoc.h

@@ -260,17 +260,6 @@ QDF_STATUS hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo,
 				 eRoamCmdStatus roamStatus,
 				 eCsrRoamResult roamResult);
 
-/**
- * hdd_conn_get_connected_bss_type() - get current bss type
- * @pHddStaCtx:         pointer to global HDD Station context
- * @pConnectedBssType:  pointer to connected bss type
- *
- * Return: false if any errors encountered, true otherwise
- */
-bool
-hdd_conn_get_connected_bss_type(hdd_station_ctx_t *pHddStaCtx,
-				eMib_dot11DesiredBssType *pConnectedBssType);
-
 /**
  * hdd_set_genie_to_csr() - set genie to csr
  * @pAdapter: pointer to adapter

+ 0 - 23
core/hdd/src/wlan_hdd_assoc.c

@@ -276,29 +276,6 @@ hdd_conn_get_connected_cipher_algo(hdd_station_ctx_t *pHddStaCtx,
 	return fConnected;
 }
 
-/**
- * hdd_conn_get_connected_bss_type() - get current bss type
- * @pHddStaCtx: pointer to global HDD Station context
- * @pConnectedBssType: pointer to connected bss type
- *
- * Return: false if any errors encountered, true otherwise
- */
-inline bool
-hdd_conn_get_connected_bss_type(hdd_station_ctx_t *pHddStaCtx,
-				eMib_dot11DesiredBssType *pConnectedBssType)
-{
-	bool fConnected = false;
-
-	fConnected = hdd_conn_get_connection_state(pHddStaCtx, NULL);
-
-	if (pConnectedBssType) {
-		*pConnectedBssType =
-			pHddStaCtx->conn_info.connDot11DesiredBssType;
-	}
-
-	return fConnected;
-}
-
 /**
  * hdd_conn_save_connected_bss_type() - set connected bss type
  * @pHddStaCtx: pointer to global HDD Station context