From e58271f05ca1a10b0520b36d67ca17f4774ac6d5 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 6 Oct 2017 09:58:59 -0700 Subject: [PATCH] qcacld-3.0: Rename struct sSirBssDescription The Linux Coding Style frowns upon mixed-case names and so-called Hungarian notation, so rename struct sSirBssDescription to align with the Coding Style. Note that it will be a separate exercie to replace instances of the tSirBssDescription and tpSirBssDescription typedefs. Change-Id: Ia698c5290e719ac6eef22cdee56e8954e5f61146 CRs-Fixed: 2122503 --- core/hdd/inc/wlan_hdd_assoc.h | 8 ++++---- core/mac/inc/sir_api.h | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_assoc.h b/core/hdd/inc/wlan_hdd_assoc.h index f55999f04ed5..b86250172e05 100644 --- a/core/hdd/inc/wlan_hdd_assoc.h +++ b/core/hdd/inc/wlan_hdd_assoc.h @@ -344,10 +344,10 @@ QDF_STATUS hdd_update_dp_vdev_flags(void *cbk_data, bool is_link_up); QDF_STATUS hdd_roam_register_sta(struct hdd_adapter *adapter, - struct tagCsrRoamInfo *roam_info, - uint8_t sta_id, - struct qdf_mac_addr *peer_mac_addr, - struct sSirBssDescription *bss_desc); + struct tagCsrRoamInfo *roam_info, + uint8_t sta_id, + struct qdf_mac_addr *peer_mac_addr, + struct bss_description *bss_desc); bool hdd_save_peer(struct hdd_station_ctx *sta_ctx, uint8_t sta_id, struct qdf_mac_addr *peer_mac_addr); diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h index d46e83f6edf6..ef2295335c73 100644 --- a/core/mac/inc/sir_api.h +++ b/core/mac/inc/sir_api.h @@ -757,7 +757,7 @@ struct fils_ind_elements { }; #endif -typedef struct sSirBssDescription { +struct bss_description { /* offset of the ieFields from bssId. */ uint16_t length; tSirMacAddr bssId; @@ -802,7 +802,8 @@ typedef struct sSirBssDescription { #endif /* Please keep the structure 4 bytes aligned above the ieFields */ uint32_t ieFields[1]; -} tSirBssDescription, *tpSirBssDescription; +}; +typedef struct bss_description tSirBssDescription, *tpSirBssDescription; #ifdef FEATURE_WLAN_MCC_TO_SCC_SWITCH typedef struct sSirSmeHTProfile {