lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1495302977-26774-1-git-send-email-jayad@cdac.in>
Date:   Sat, 20 May 2017 23:26:17 +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 5/5] Staging: rtl8712: ieee80211: fixed camelcase coding style issue

Fixed coding style issue

Renamed cap_ShortPremble to cap_short_premble

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 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ