mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 10/10] Staging: rtl8712: ieee80211: fixed coding style issue
@ 2017-06-11 18:44 Jaya Durga
  2017-06-12 12:12 ` Dan Carpenter
  2017-06-12 20:57 ` [10/10] " Guenter Roeck
  0 siblings, 2 replies; 5+ messages in thread
From: Jaya Durga @ 2017-06-11 18:44 UTC (permalink / raw)
  To: gregkh
  Cc: Larry.Finger, florian.c.schilhabel, driverdev-devel, devel,
	linux-kernel, Jaya Durga

Fixed WARNING: line over 80 characters

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

diff --git a/drivers/staging/rtl8712/ieee80211.c b/drivers/staging/rtl8712/ieee80211.c
index 6e673c1..97ef063 100644
--- a/drivers/staging/rtl8712/ieee80211.c
+++ b/drivers/staging/rtl8712/ieee80211.c
@@ -174,8 +174,8 @@ int r8712_generate_ie(struct registry_priv *pregistrypriv)
	sz += 8;
	ie += sz;
	/*beacon interval : 2bytes*/
-	*(__le16 *)ie = cpu_to_le16(
-				(u16)pdev_network->configuration.beacon_period);
+	struct NDIS_802_11_CONFIGURATION *cfg = &pdev_network->configuration;
+	*(__le16 *)ie = cpu_to_le16(cfg->beacon_period);
	sz += 2;
	ie += 2;
	/*capability info*/
--
1.9.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-13  6:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-11 18:44 [PATCH 10/10] Staging: rtl8712: ieee80211: fixed coding style issue Jaya Durga
2017-06-12 12:12 ` Dan Carpenter
     [not found]   ` <1515429128.1447.1497331078332.JavaMail.open-xchange@webmail.cdac.in>
2017-06-13  5:55     ` Greg KH
2017-06-13  6:52       ` R Jayadurga
2017-06-12 20:57 ` [10/10] " Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome