Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1646175

[PATCH 5/5] Staging: rtl8712: ieee80211: fixed camelcase coding style issue

From Jaya Durga <jayad@cdac.in>
Newsgroups linux.kernel
Subject [PATCH 5/5] Staging: rtl8712: ieee80211: fixed camelcase coding style issue
Date 2017-05-20 20:10 +0200
Message-ID <tJgZb-4S9-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Fixed coding style issue

Renamed cap_ShortPremble to cap_short_premble

Signed-off-by: Jaya Durga <jayad@cdac.in>
---
 drivers/staging/rtl8712/ieee80211.c | 2 +-
 drivers/staging/rtl8712/wifi.h      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8712/ieee80211.c b/drivers/staging/rtl8712/ieee80211.c
index a7152df..7196464 100644
--- a/drivers/staging/rtl8712/ieee80211.c
+++ b/drivers/staging/rtl8712/ieee80211.c
@@ -182,7 +182,7 @@ int r8712_generate_ie(struct registry_priv *pregistrypriv)
 	*(u16 *)ie = 0;
 	*(__le16 *)ie |= cpu_to_le16(cap_IBSS);
 	if (pregistrypriv->preamble == PREAMBLE_SHORT)
-		*(__le16 *)ie |= cpu_to_le16(cap_ShortPremble);
+		*(__le16 *)ie |= cpu_to_le16(cap_short_premble);
 	if (pdev_network->Privacy)
 		*(__le16 *)ie |= cpu_to_le16(cap_Privacy);
 	sz += 2;
diff --git a/drivers/staging/rtl8712/wifi.h b/drivers/staging/rtl8712/wifi.h
index 74dfc9b..2c8b729 100644
--- a/drivers/staging/rtl8712/wifi.h
+++ b/drivers/staging/rtl8712/wifi.h
@@ -441,7 +441,7 @@ static inline unsigned char *get_hdr_bssid(unsigned char *pframe)
 #define cap_CFPollable BIT(2)
 #define cap_CFRequest BIT(3)
 #define cap_Privacy BIT(4)
-#define cap_ShortPremble BIT(5)
+#define cap_short_premble BIT(5)
 
 /*-----------------------------------------------------------------------------
 				Below is the definition for 802.11i / 802.1x
-- 
1.9.1

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 5/5] Staging: rtl8712: ieee80211: fixed camelcase coding style issue Jaya Durga <jayad@cdac.in> - 2017-05-20 20:10 +0200

csiph-web