[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1495303504-28437-1-git-send-email-jayad@cdac.in>
Date: Sat, 20 May 2017 23:35:04 +0530
From: Jaya Durga <jayad@...c.in>
To: gregkh@...uxfoundation.org
Cc: Larry.Finger@...inger.net, florian.c.schilhabel@...glemail.com,
driverdev-devel@...uxdriverproject.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, Jaya Durga <jayad@...c.in>
Subject: [PATCH 6/6] Staging: rtl8712: ieee80211: fixed camelcase coding style issue
Fixed coding style issue
Renamed cap_Privacy to cap_privacy
Signed-off-by: Jaya Durga <jayad@...c.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 7196464..200677c 100644
--- a/drivers/staging/rtl8712/ieee80211.c
+++ b/drivers/staging/rtl8712/ieee80211.c
@@ -184,7 +184,7 @@ int r8712_generate_ie(struct registry_priv *pregistrypriv)
if (pregistrypriv->preamble == PREAMBLE_SHORT)
*(__le16 *)ie |= cpu_to_le16(cap_short_premble);
if (pdev_network->Privacy)
- *(__le16 *)ie |= cpu_to_le16(cap_Privacy);
+ *(__le16 *)ie |= cpu_to_le16(cap_privacy);
sz += 2;
ie += 2;
/*SSID*/
diff --git a/drivers/staging/rtl8712/wifi.h b/drivers/staging/rtl8712/wifi.h
index 2c8b729..41f7557 100644
--- a/drivers/staging/rtl8712/wifi.h
+++ b/drivers/staging/rtl8712/wifi.h
@@ -440,7 +440,7 @@ static inline unsigned char *get_hdr_bssid(unsigned char *pframe)
#define cap_IBSS BIT(1)
#define cap_CFPollable BIT(2)
#define cap_CFRequest BIT(3)
-#define cap_Privacy BIT(4)
+#define cap_privacy BIT(4)
#define cap_short_premble BIT(5)
/*-----------------------------------------------------------------------------
--
1.9.1
Powered by blists - more mailing lists