staging: r8188eu: core: remove duplicate condition check
Remove the same expression (!memcmp(pIE->data, BROADCOM_OUI2, 3)) on both the side of "||" . Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com> Link: https://lore.kernel.org/r/YVme3xtnCHN/hOjS@user Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
5a71c252c5
Коммит
f284edfed8
|
@ -1271,7 +1271,6 @@ unsigned char check_assoc_AP(u8 *pframe, uint len)
|
||||||
DBG_88E("link to Artheros AP\n");
|
DBG_88E("link to Artheros AP\n");
|
||||||
return HT_IOT_PEER_ATHEROS;
|
return HT_IOT_PEER_ATHEROS;
|
||||||
} else if ((!memcmp(pIE->data, BROADCOM_OUI1, 3)) ||
|
} else if ((!memcmp(pIE->data, BROADCOM_OUI1, 3)) ||
|
||||||
(!memcmp(pIE->data, BROADCOM_OUI2, 3)) ||
|
|
||||||
(!memcmp(pIE->data, BROADCOM_OUI2, 3))) {
|
(!memcmp(pIE->data, BROADCOM_OUI2, 3))) {
|
||||||
DBG_88E("link to Broadcom AP\n");
|
DBG_88E("link to Broadcom AP\n");
|
||||||
return HT_IOT_PEER_BROADCOM;
|
return HT_IOT_PEER_BROADCOM;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче