Skip to contentSkip to conversation

staging: rtl8192e: Indent the code

PATCH New Georgiana Rodica Chelu 1 participant 1 message Mar 7, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: rtl8192e: Indent the code

Indent the code in order to follow the rules and to increase the readability of the code.

---
Changes in v2:
- remove extra indentation
- add a space after each ":" in subject line

 drivers/staging/rtl8192e/rtllib_wx.c                   | 2 +-
 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c      | 2 +-
 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8192e/rtllib_wx.c +1 -1
index b1500ee..1102135 100644
@@ -668,7 +668,7 @@ int rtllib_wx_set_encode_ext(struct rtllib_device *ieee,
 	if (ieee->set_security)
 		ieee->set_security(ieee->dev, &sec);
 
-	 if (ieee->reset_on_keychange &&
+	if (ieee->reset_on_keychange &&
 	    ieee->iw_mode != IW_MODE_INFRA &&
 	    ieee->reset_port && ieee->reset_port(dev)) {
 		netdev_dbg(ieee->dev, "Port reset failed\n");
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c +1 -1
index f0fba81..10ab2bf0 100644
@@ -939,7 +939,7 @@ int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
 	if (HTCCheck(ieee, skb->data))
 	{
 		if(net_ratelimit())
-		printk("find HTCControl\n");
+			printk("find HTCControl\n");
 		hdrlen += 4;
 		rx_stats->bContainHTC = true;
 	}
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c +1 -1
index 0ea90aa..ccb1221 100644
@@ -466,7 +466,7 @@ void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee)
 			goto out;
 		ieee->set_chan(ieee->dev, ch);
 		if(channel_map[ch] == 1)
-		ieee80211_send_probe_requests(ieee);
+			ieee80211_send_probe_requests(ieee);
 
 		/* this prevent excessive time wait when we
 		 * need to wait for a syncro scan to end..
Signature · 1 line
2.7.4