The linux native ethertype ETH_P_LINK_CTL is matching ETH_P_BRCM so
lets use that definition and get rid of ETH_P_BRCM.
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
#include "dhd_dbg.h"
#include "wl_cfg80211.h"
-#define ETH_P_BRCM 0x886c
-
/* Global ASSERT type flag */
u32 g_assert_type;
skb_pull(skb, ETH_HLEN);
/* Process special event packets and then discard them */
- if (ntohs(skb->protocol) == ETH_P_BRCM)
+ if (ntohs(skb->protocol) == ETH_P_LINK_CTL)
brcmf_host_event(dhd, &ifidx,
skb_mac_header(skb),
&event, &data);