From bf4d305a096151c857e5e16681a9092a2f28bde4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Fri, 6 Sep 2013 02:45:38 +0200 Subject: [PATCH] Fix duplicated use of BROADCOM_OUI2, leaving BROADCOM_OUI3 unused. --- core/rtw_wlan_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rtw_wlan_util.c b/core/rtw_wlan_util.c index b1981ad..0c69e31 100644 --- a/core/rtw_wlan_util.c +++ b/core/rtw_wlan_util.c @@ -1430,7 +1430,7 @@ unsigned char check_assoc_AP(u8 *pframe, uint len) return HT_IOT_PEER_ATHEROS; } 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_OUI3, 3))) { DBG_88E("link to Broadcom AP\n"); return HT_IOT_PEER_BROADCOM; } else if (_rtw_memcmp(pIE->data, MARVELL_OUI, 3)) {