Commit 8ad835b9 authored by Georgiana Rodica Chelu's avatar Georgiana Rodica Chelu Committed by Greg Kroah-Hartman

staging: rtl8192e: Indent the code

Indent the code in order to follow the rules and to
increase the readability of the code.
Signed-off-by: default avatarGeorgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4db665e5
...@@ -668,7 +668,7 @@ int rtllib_wx_set_encode_ext(struct rtllib_device *ieee, ...@@ -668,7 +668,7 @@ int rtllib_wx_set_encode_ext(struct rtllib_device *ieee,
if (ieee->set_security) if (ieee->set_security)
ieee->set_security(ieee->dev, &sec); ieee->set_security(ieee->dev, &sec);
if (ieee->reset_on_keychange && if (ieee->reset_on_keychange &&
ieee->iw_mode != IW_MODE_INFRA && ieee->iw_mode != IW_MODE_INFRA &&
ieee->reset_port && ieee->reset_port(dev)) { ieee->reset_port && ieee->reset_port(dev)) {
netdev_dbg(ieee->dev, "Port reset failed\n"); netdev_dbg(ieee->dev, "Port reset failed\n");
......
...@@ -939,7 +939,7 @@ int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb, ...@@ -939,7 +939,7 @@ int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
if (HTCCheck(ieee, skb->data)) if (HTCCheck(ieee, skb->data))
{ {
if(net_ratelimit()) if(net_ratelimit())
printk("find HTCControl\n"); printk("find HTCControl\n");
hdrlen += 4; hdrlen += 4;
rx_stats->bContainHTC = true; rx_stats->bContainHTC = true;
} }
......
...@@ -466,7 +466,7 @@ void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee) ...@@ -466,7 +466,7 @@ void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee)
goto out; goto out;
ieee->set_chan(ieee->dev, ch); ieee->set_chan(ieee->dev, ch);
if(channel_map[ch] == 1) if(channel_map[ch] == 1)
ieee80211_send_probe_requests(ieee); ieee80211_send_probe_requests(ieee);
/* this prevent excessive time wait when we /* this prevent excessive time wait when we
* need to wait for a syncro scan to end.. * need to wait for a syncro scan to end..
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment