mirror of https://gitee.com/openkylin/linux.git
staging: rtl8192e: Correct alignment of if statements - Coding Style
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>
This commit is contained in:
parent
3218202de9
commit
355654ef2c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue