From: Jaya Durga <jayad@cdac.in>
To: gregkh@linuxfoundation.org
Cc: Larry.Finger@lwfinger.net, florian.c.schilhabel@googlemail.com,
driverdev-devel@linuxdriverproject.org,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Jaya Durga <jayad@cdac.in>
Subject: [PATCH 10/10] Staging: rtl8712: ieee80211: fixed coding style issue
Date: Mon, 12 Jun 2017 00:14:06 +0530 [thread overview]
Message-ID: <1497206646-20998-1-git-send-email-jayad@cdac.in> (raw)
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
next reply other threads:[~2017-06-11 18:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-11 18:44 Jaya Durga [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1497206646-20998-1-git-send-email-jayad@cdac.in \
--to=jayad@cdac.in \
--cc=Larry.Finger@lwfinger.net \
--cc=devel@driverdev.osuosl.org \
--cc=driverdev-devel@linuxdriverproject.org \
--cc=florian.c.schilhabel@googlemail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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