Skip to contentSkip to conversation

Staging: rtl8192u: suspect code indent for conditional statment

PATCH In review mike dupuis 1 participant 1 message Sep 14, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 Staging: rtl8192u: suspect code indent for conditional statment

From: Mike Dupuis <[email protected]>

This is a patch to correct an improperly indented block of code in ieee80211_softmac_wx.c

---
 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c +2 -3
index be3f61a..aa1209f 100644
@@ -72,9 +72,8 @@ int ieee80211_wx_set_freq(struct ieee80211_device *ieee, struct iw_request_info
 
 		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);
+				ieee80211_stop_send_beacons(ieee);
+				ieee80211_start_send_beacons(ieee);
 			}
 	}
 
Signature · 6 lines
2.1.4


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