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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixed coding style issue

Renamed cap_ShortPremble to cap_short_premble

Signed-off-by: Jaya Durga <jayad@xxxxxxx>
---
 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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux