Staging: rtl8192u: suspect code indent for conditional statment
authorMike Dupuis <mike.dupuis.0@gmail.com>
Mon, 14 Sep 2015 06:42:49 +0000 (22:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Sep 2015 13:36:24 +0000 (06:36 -0700)
This is a patch to correct an improperly indented block of code in
ieee80211_softmac_wx.c

Signed-off-by: Mike Dupuis <mike.dupuis.0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c

index 45eb416..030077f 100644 (file)
@@ -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);
                        }
        }