diff options
author | John Whitmore <johnfwhitmore@gmail.com> | 2018-07-21 20:25:46 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-24 14:03:48 +0200 |
commit | b34db7f48ab6bd7308112da330c49ef06b56c164 (patch) | |
tree | 1dd63626aae1048d9d273cc160b3a41490986104 /drivers/staging/rtl8192u/ieee80211/dot11d.h | |
parent | 3c22fbaf3bc685ac5691852fb25e0ff6d3510f24 (diff) |
staging:rtl8192u: Rename bEnabled > enabled - Style
Rename the member variable bEnabled to enabled. This change clears the
checkpatch issue with CamelCase. Purely a coding style change which should not
impact runtime execution.
Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/ieee80211/dot11d.h')
-rw-r--r-- | drivers/staging/rtl8192u/ieee80211/dot11d.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/dot11d.h b/drivers/staging/rtl8192u/ieee80211/dot11d.h index 8f7426333da5..cfe342d0b4bb 100644 --- a/drivers/staging/rtl8192u/ieee80211/dot11d.h +++ b/drivers/staging/rtl8192u/ieee80211/dot11d.h @@ -19,7 +19,7 @@ enum dot11d_state { struct rt_dot11d_info { /* DECLARE_RT_OBJECT(rt_dot11d_info); */ - bool bEnabled; /* dot11MultiDomainCapabilityEnabled */ + bool enabled; /* dot11MultiDomainCapabilityEnabled */ u16 CountryIeLen; /* > 0 if CountryIeBuf[] contains valid country information element. */ u8 CountryIeBuf[MAX_IE_LEN]; @@ -41,7 +41,7 @@ struct rt_dot11d_info { (des)[5] = (src)[5]) #define GET_DOT11D_INFO(__pIeeeDev) ((struct rt_dot11d_info *)((__pIeeeDev)->pDot11dInfo)) -#define IS_DOT11D_ENABLE(__pIeeeDev) (GET_DOT11D_INFO(__pIeeeDev)->bEnabled) +#define IS_DOT11D_ENABLE(__pIeeeDev) (GET_DOT11D_INFO(__pIeeeDev)->enabled) #define IS_COUNTRY_IE_VALID(__pIeeeDev) (GET_DOT11D_INFO(__pIeeeDev)->CountryIeLen > 0) #define IS_EQUAL_CIE_SRC(__pIeeeDev, __pTa) eqMacAddr(GET_DOT11D_INFO(__pIeeeDev)->CountryIeSrcAddr, __pTa) |