Fix duplicated use of BROADCOM_OUI2, leaving BROADCOM_OUI3 unused.

This commit is contained in:
Álvaro Fernández Rojas 2013-09-06 02:45:38 +02:00
parent a7e9834fbc
commit bf4d305a09

View file

@ -1430,7 +1430,7 @@ unsigned char check_assoc_AP(u8 *pframe, uint len)
return HT_IOT_PEER_ATHEROS; return HT_IOT_PEER_ATHEROS;
} else if ((_rtw_memcmp(pIE->data, BROADCOM_OUI1, 3)) || } else if ((_rtw_memcmp(pIE->data, BROADCOM_OUI1, 3)) ||
(_rtw_memcmp(pIE->data, BROADCOM_OUI2, 3)) || (_rtw_memcmp(pIE->data, BROADCOM_OUI2, 3)) ||
(_rtw_memcmp(pIE->data, BROADCOM_OUI2, 3))) { (_rtw_memcmp(pIE->data, BROADCOM_OUI3, 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;
} else if (_rtw_memcmp(pIE->data, MARVELL_OUI, 3)) { } else if (_rtw_memcmp(pIE->data, MARVELL_OUI, 3)) {