Ver código fonte

qcacld-3.0: Rename struct beacon_data_s

The Linux Coding Style eschews the encoding of type information into
names, so rename struct beacon_data_s to align with that guidance. In
the process add an hdd_ prefix to avoid future namespace collisions.

Change-Id: Iae1cbbac2bee520ae305b027f68b5af1c4d94ea7
CRs-Fixed: 2093278
Jeff Johnson 7 anos atrás
pai
commit
c5d7650079
2 arquivos alterados com 4 adições e 4 exclusões
  1. 3 3
      core/hdd/inc/wlan_hdd_he.h
  2. 1 1
      core/hdd/inc/wlan_hdd_main.h

+ 3 - 3
core/hdd/inc/wlan_hdd_he.h

@@ -28,7 +28,7 @@
 
 struct hdd_context;
 struct wma_tgt_cfg;
-struct beacon_data_s;
+struct hdd_beacon_data;
 struct sap_Config;
 
 #ifdef WLAN_FEATURE_11AX
@@ -90,7 +90,7 @@ void hdd_update_tgt_he_cap(struct hdd_context *hdd_ctx,
  *
  * Return: None
  */
-void wlan_hdd_check_11ax_support(struct beacon_data_s *beacon,
+void wlan_hdd_check_11ax_support(struct hdd_beacon_data *beacon,
 				 struct sap_Config *config);
 
 /**
@@ -149,7 +149,7 @@ static inline void hdd_update_tgt_he_cap(struct hdd_context *hdd_ctx,
 {
 }
 
-static inline void wlan_hdd_check_11ax_support(struct beacon_data_s *beacon,
+static inline void wlan_hdd_check_11ax_support(struct hdd_beacon_data *beacon,
 					       struct sap_Config *config)
 {
 }

+ 1 - 1
core/hdd/inc/wlan_hdd_main.h

@@ -592,7 +592,7 @@ struct hdd_wapi_info_s {
 typedef struct hdd_wapi_info_s hdd_wapi_info_t;
 #endif /* FEATURE_WLAN_WAPI */
 
-typedef struct beacon_data_s {
+typedef struct hdd_beacon_data {
 	u8 *head;
 	u8 *tail;
 	u8 *proberesp_ies;