Skip to contentSkip to conversation

Staging: rtl8712: ieee80211: fixed coding style issue

PATCH In review Jaya Durga 2 participants 2 messages Jun 13, 2017 Staging

lore
Share & tools
lore

Jaya Durga

author
#0 lore raw

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

Fixed WARNING: line over 80 characters

---
 drivers/staging/rtl8712/ieee80211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8712/ieee80211.c +1 -1
index 97ef063..b823656 100644
@@ -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;
Signature · 1 line
1.9.1
#1 lore raw

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