summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_wfi_netdevice.h
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2018-01-16 19:32:19 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-17 15:06:19 +0100
commit3b127bd9b7a3d9d9a102cf0e0480b3d0d2a4fd00 (patch)
treea7ae27928f2a51de3f6743f88d8a6879d1f68348 /drivers/staging/wilc1000/wilc_wfi_netdevice.h
parenta535929f46d2b1bd9b4195b0bcef4c86ba22c9cc (diff)
downloadop-kernel-dev-3b127bd9b7a3d9d9a102cf0e0480b3d0d2a4fd00.zip
op-kernel-dev-3b127bd9b7a3d9d9a102cf0e0480b3d0d2a4fd00.tar.gz
staging: wilc1000: rename elements of wilc_priv struct to avoid using camelCase
This is cleanup patch, to avoid the use of camelCase for "wilc_priv" structure member variables. The changes fix the camelCase issue reported by checkpatch.pl script. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wfi_netdevice.h')
-rw-r--r--drivers/staging/wilc1000/wilc_wfi_netdevice.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
index e6f4d84..2046bb9 100644
--- a/drivers/staging/wilc1000/wilc_wfi_netdevice.h
+++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
@@ -100,15 +100,15 @@ struct wilc_wfi_p2pListenParams {
struct wilc_priv {
struct wireless_dev *wdev;
- struct cfg80211_scan_request *pstrScanReq;
+ struct cfg80211_scan_request *scan_req;
- struct wilc_wfi_p2pListenParams strRemainOnChanParams;
- u64 u64tx_cookie;
+ struct wilc_wfi_p2pListenParams remain_on_ch_params;
+ u64 tx_cookie;
- bool bCfgScanning;
- u32 u32RcvdChCount;
+ bool cfg_scanning;
+ u32 rcvd_ch_cnt;
- u8 au8AssociatedBss[ETH_ALEN];
+ u8 associated_bss[ETH_ALEN];
struct sta_info assoc_stainfo;
struct net_device_stats stats;
u8 monitor_flag;
@@ -135,9 +135,9 @@ struct wilc_priv {
/* mutexes */
struct mutex scan_req_lock;
/* */
- bool gbAutoRateAdjusted;
+ bool auto_rate_adjusted;
- bool bInP2PlistenState;
+ bool p2p_listen_state;
};
OpenPOWER on IntegriCloud