staging: rtl8192e: Correct alignment of if statements - Coding Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Wed, 6 Jun 2018 11:39:59 +0000 (12:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Jun 2018 07:05:12 +0000 (09:05 +0200)
Function HTIOTPeerDetermine used incorrect indentation in if statements.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c

index 65b2cd6..10d9c58 100644 (file)
@@ -362,16 +362,16 @@ static void HTIOTPeerDetermine(struct ieee80211_device *ieee)
        else if (net->broadcom_cap_exist)
                pHTInfo->IOTPeer = HT_IOT_PEER_BROADCOM;
        else if ((memcmp(net->bssid, UNKNOWN_BORADCOM, 3) == 0) ||
-                       (memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) == 0) ||
-                       (memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3) == 0) ||
-                       (memcmp(net->bssid, NETGEAR834Bv2_BROADCOM, 3) == 0))
+                (memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) == 0) ||
+                (memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3) == 0) ||
+                (memcmp(net->bssid, NETGEAR834Bv2_BROADCOM, 3) == 0))
                pHTInfo->IOTPeer = HT_IOT_PEER_BROADCOM;
        else if ((memcmp(net->bssid, BELKINF5D8233V1_RALINK, 3) == 0) ||
-                       (memcmp(net->bssid, BELKINF5D82334V3_RALINK, 3) == 0) ||
-                       (memcmp(net->bssid, PCI_RALINK, 3) == 0) ||
-                       (memcmp(net->bssid, EDIMAX_RALINK, 3) == 0) ||
-                       (memcmp(net->bssid, AIRLINK_RALINK, 3) == 0) ||
-                        net->ralink_cap_exist)
+                (memcmp(net->bssid, BELKINF5D82334V3_RALINK, 3) == 0) ||
+                (memcmp(net->bssid, PCI_RALINK, 3) == 0) ||
+                (memcmp(net->bssid, EDIMAX_RALINK, 3) == 0) ||
+                (memcmp(net->bssid, AIRLINK_RALINK, 3) == 0) ||
+                net->ralink_cap_exist)
                pHTInfo->IOTPeer = HT_IOT_PEER_RALINK;
        else if (net->atheros_cap_exist)
                pHTInfo->IOTPeer = HT_IOT_PEER_ATHEROS;