Skip to contentSkip to conversation

Staging: rtl8192u: space required before open parentheses

PATCH In review mike dupuis 2 participants 3 messages Sep 14, 2015 – Sep 15, 2015 1 message not in the archive Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 Staging: rtl8192u: space required before open parentheses

From: Mike Dupuis <[email protected]>

This is a patch to add spaces where required before open parentheses in ieee80211_softmac_wx.c

---
 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c +6 -6
index 3662925..be3f61a 100644
@@ -70,8 +70,8 @@ int ieee80211_wx_set_freq(struct ieee80211_device *ieee, struct iw_request_info
 		ieee->current_network.channel = fwrq->m;
 		ieee->set_chan(ieee->dev, ieee->current_network.channel);
 
-		if(ieee->iw_mode == IW_MODE_ADHOC || ieee->iw_mode == IW_MODE_MASTER)
-			if(ieee->state == IEEE80211_LINKED) {
+		if (ieee->iw_mode == IW_MODE_ADHOC || ieee->iw_mode == IW_MODE_MASTER)
+			if (ieee->state == IEEE80211_LINKED) {
 
 			ieee80211_stop_send_beacons(ieee);
 			ieee80211_start_send_beacons(ieee);
@@ -353,7 +353,7 @@ void ieee80211_wx_sync_scan_wq(struct work_struct *work)
 	if (ieee->data_hard_resume)
 		ieee->data_hard_resume(ieee->dev);
 
-	if(ieee->iw_mode == IW_MODE_ADHOC || ieee->iw_mode == IW_MODE_MASTER)
+	if (ieee->iw_mode == IW_MODE_ADHOC || ieee->iw_mode == IW_MODE_MASTER)
 		ieee80211_start_send_beacons(ieee);
 
 	netif_carrier_on(ieee->dev);
@@ -410,7 +410,7 @@ int ieee80211_wx_set_essid(struct ieee80211_device *ieee,
 		goto out;
 	}
 
-	if(proto_started)
+	if (proto_started)
 		ieee80211_stop_protocol(ieee);
 
 
@@ -461,7 +461,7 @@ EXPORT_SYMBOL(ieee80211_wx_get_mode);
 
 	down(&ieee->wx_sem);
 
-	if(enable)
+	if (enable)
 		ieee->raw_tx = 1;
 	else
 		ieee->raw_tx = 0;
@@ -478,7 +478,7 @@ EXPORT_SYMBOL(ieee80211_wx_get_mode);
 			netif_carrier_on(ieee->dev);
 		}
 
-		if(prev && ieee->raw_tx == 1)
+		if (prev && ieee->raw_tx == 1)
 			netif_carrier_off(ieee->dev);
 	}
 
Signature · 6 lines
2.1.4


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

A message that is not in the archive (sent off-list or not yet received): CABTjXUSvamS-ba51g3PvzQ8Wc2puEvUr9ih+a62zrqVOvGE6jQ@mail.gmail.com

#3 lore raw
Quoted 5 lines · Mike Dupuis
Quoted 1 line

In your previous patches this From: line was not there. Why now?

I did not do that by hand. I changed some SSMTP and git configuration settings recently-- perhaps that is related. If this is a problem, I will correct it.

The From: line is used by people who uses corporate mail servers and they can not set what the From: in the email header will be. But since you already had your git config configured so that will be more preferred.

regards
sudip