Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1665004 > unrolled thread

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

Started byJaya Durga <jayad@cdac.in>
First post2017-06-13 18:40 +0200
Last post2017-06-13 21:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 11/11] Staging: rtl8712: ieee80211: fixed coding style issue Jaya Durga <jayad@cdac.in> - 2017-06-13 18:40 +0200
    Re: [PATCH 11/11] Staging: rtl8712: ieee80211: fixed coding style  issue Dan Carpenter <dan.carpenter@oracle.com> - 2017-06-13 21:00 +0200

#1665004 — [PATCH 11/11] Staging: rtl8712: ieee80211: fixed coding style issue

FromJaya Durga <jayad@cdac.in>
Date2017-06-13 18:40 +0200
Subject[PATCH 11/11] Staging: rtl8712: ieee80211: fixed coding style issue
Message-ID<tRX1g-1PX-5@gated-at.bofh.it>
Fixed WARNING: line over 80 characters

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

diff --git a/drivers/staging/rtl8712/ieee80211.c b/drivers/staging/rtl8712/ieee80211.c
index 97ef063..b823656 100644
--- a/drivers/staging/rtl8712/ieee80211.c
+++ b/drivers/staging/rtl8712/ieee80211.c
@@ -168,13 +168,13 @@ int r8712_generate_ie(struct registry_priv *pregistrypriv)
 {
 	int sz = 0, rate_len;
 	struct wlan_bssid_ex *pdev_network = &pregistrypriv->dev_network;
+	struct NDIS_802_11_CONFIGURATION *cfg = &pdev_network->configuration;
 	u8 *ie = pdev_network->ie_s;
 
 	/*timestamp will be inserted by hardware*/
 	sz += 8;
 	ie += sz;
 	/*beacon interval : 2bytes*/
-	struct NDIS_802_11_CONFIGURATION *cfg = &pdev_network->configuration;
 	*(__le16 *)ie = cpu_to_le16(cfg->beacon_period);
 	sz += 2;
 	ie += 2;
-- 
1.9.1

[toc] | [next] | [standalone]


#1665115 — Re: [PATCH 11/11] Staging: rtl8712: ieee80211: fixed coding style issue

FromDan Carpenter <dan.carpenter@oracle.com>
Date2017-06-13 21:00 +0200
SubjectRe: [PATCH 11/11] Staging: rtl8712: ieee80211: fixed coding style issue
Message-ID<tRZcK-380-21@gated-at.bofh.it>
In reply to#1665004
Greg is never going to merge your patches until you fix your numbering
so you may as well do that before anything else.

This patch fixes a bug in a patch which is never going to be merged so
it's not needed.  Google "how to send a v2 patch".

regards,
dan carpenter

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web