qcacld-3.0: hdd: Replace typedef tSirBssDescription
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSirBssDescription typedef does
not meet any of those criteria, so replace references to it within HDD
with a reference to the underlying struct.
Change-Id: I13938fc15841986e9957f4774fbcfd035f734ccd
CRs-Fixed: 2122558
diff --git a/core/hdd/src/wlan_hdd_nan_datapath.c b/core/hdd/src/wlan_hdd_nan_datapath.c
index 22e069b..1d2275b 100644
--- a/core/hdd/src/wlan_hdd_nan_datapath.c
+++ b/core/hdd/src/wlan_hdd_nan_datapath.c
@@ -881,7 +881,7 @@
struct hdd_station_ctx *sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);
struct qdf_mac_addr bc_mac_addr = QDF_MAC_ADDR_BROADCAST_INITIALIZER;
tCsrRoamInfo *roam_info;
- tSirBssDescription tmp_bss_descp = {0};
+ struct bss_description tmp_bss_descp = {0};
ENTER();
@@ -1240,7 +1240,7 @@
{
struct sme_ndp_peer_ind *new_peer_ind = ind_params;
struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter);
- tSirBssDescription tmp_bss_descp = {0};
+ struct bss_description tmp_bss_descp = {0};
tCsrRoamInfo *roam_info;
struct nan_datapath_ctx *ndp_ctx = WLAN_HDD_GET_NDP_CTX_PTR(adapter);
struct hdd_station_ctx *sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);
@@ -2280,7 +2280,7 @@
struct nan_datapath_inf_create_rsp *ndi_rsp)
{
tCsrRoamInfo roam_info = {0};
- tSirBssDescription tmp_bss_descp = {0};
+ struct bss_description tmp_bss_descp = {0};
struct hdd_context *hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD);
struct hdd_adapter *adapter = hdd_get_adapter_by_vdev(hdd_ctx, vdev_id);
struct qdf_mac_addr bc_mac_addr = QDF_MAC_ADDR_BROADCAST_INITIALIZER;
@@ -2353,7 +2353,7 @@
{
struct hdd_context *hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD);
struct hdd_adapter *adapter = hdd_get_adapter_by_vdev(hdd_ctx, vdev_id);
- tSirBssDescription tmp_bss_descp = {0};
+ struct bss_description tmp_bss_descp = {0};
tCsrRoamInfo roam_info = {0};
struct hdd_station_ctx *sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);