Skip to contentSkip to conversation

Staging: rtlwifi: base.c: fix line over 80 charcters

PATCH In review [email protected] 2 participants 2 messages Mar 23, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: rtlwifi: base.c: fix line over 80 charcters

From: Anushka Shukla <[email protected]>

fix line over 80 characters

---
 drivers/staging/rtlwifi/base.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/rtlwifi/base.c +2 -1
index 35df2cf60619..5fbd71c01ff3 100644
@@ -2130,7 +2130,8 @@ void rtl_watchdog_wq_callback(void *data)
 			if (rtlpriv->link_info.roam_times >= 5) {
 				pr_err("AP off, try to reconnect now\n");
 				rtlpriv->link_info.roam_times = 0;
-				ieee80211_connection_loss(rtlpriv->mac80211.vif);
+				ieee80211_connection_loss(rtlpriv->
+                                               		  mac80211.vif);
 			}
 		} else {
 			rtlpriv->link_info.roam_times = 0;
Signature · 1 line
2.17.1
#1 lore raw
Quoted 14 lines · On Sat, 23 Mar 2019, [email protected] wrote:

From: Anushka Shukla <[email protected]>

fix line over 80 characters

---
 drivers/staging/rtlwifi/base.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/rtlwifi/base.c +0 -0
index 35df2cf60619..5fbd71c01ff3 100644

drivers/staging/rtlwifi/base.c void rtl_watchdog_wq_callback(void *data) · line 2134

Quoted 6 lines
drivers/staging/rtlwifi/base.c +2 -1
@@ -2130,7 +2130,8 @@ void rtl_watchdog_wq_callback(void *data)
 			if (rtlpriv->link_info.roam_times >= 5) {
 				pr_err("AP off, try to reconnect now\n");
 				rtlpriv->link_info.roam_times = 0;
-				ieee80211_connection_loss(rtlpriv->mac80211.vif);
+				ieee80211_connection_loss(rtlpriv->
+                                               		  mac80211.vif);

This is not an improvement. I guess it is only like 1 character over and it is not good to break up an expression in this way.

julia

Quoted 13 lines
drivers/staging/rtlwifi/base.c +0 -1
 			}
 		} else {
 			rtlpriv->link_info.roam_times = 0;
--

2.17.1

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20190323115159.9331-1-anushkacharu9%40gmail.com.
For more options, visit https://groups.google.com/d/optout.