Quellcode durchsuchen

qcacld-3.0: Rename hdd_station_ctx WextState field

Per the Linux coding style "mixed-case names are frowned upon" so
rename field WextState in struct hdd_station_ctx.

Change-Id: I57efdc0120b4e84b1c9f385d77ed148080d6db82
CRs-Fixed: 2132662
Jeff Johnson vor 7 Jahren
Ursprung
Commit
7c0d3b27a5
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      core/hdd/inc/wlan_hdd_main.h

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

@@ -626,7 +626,7 @@ struct hdd_mon_set_ch_info {
 
 /**
  * struct hdd_station_ctx -- STA-specific information
- * @WextState: wireless extensions state
+ * @wext_state: wireless extensions state
  * @wpa_versions: bitmap of supported WPA versions
  * @requested_bssid: Specific BSSID to which to connect
  * @conn_info: current connection information
@@ -648,7 +648,7 @@ struct hdd_mon_set_ch_info {
  *    to immediately go into power save?
  */
 struct hdd_station_ctx {
-	struct hdd_wext_state WextState;
+	struct hdd_wext_state wext_state;
 	enum nl80211_wpa_versions wpa_versions;
 	struct qdf_mac_addr requested_bssid;
 	struct hdd_connection_info conn_info;
@@ -1224,7 +1224,7 @@ struct hdd_adapter {
 #define WLAN_HDD_GET_STATION_CTX_PTR(adapter) (&(adapter)->sessionCtx.station)
 #define WLAN_HDD_GET_AP_CTX_PTR(adapter) (&(adapter)->sessionCtx.ap)
 #define WLAN_HDD_GET_WEXT_STATE_PTR(adapter) \
-				(&(adapter)->sessionCtx.station.WextState)
+				(&(adapter)->sessionCtx.station.wext_state)
 #define WLAN_HDD_GET_CTX(adapter) ((adapter)->hdd_ctx)
 #define WLAN_HDD_GET_HAL_CTX(adapter)  ((adapter)->hdd_ctx->hHal)
 #define WLAN_HDD_GET_HOSTAP_STATE_PTR(adapter) \