Skip to content

Commit

Permalink
staging: brcm80211: use linux native ethertype iso ETH_P_BRCM
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Jul 5, 2011
1 parent c8796cb commit cb645ab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/staging/brcm80211/brcmfmac/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
#include "dhd_dbg.h"
#include "wl_cfg80211.h"

#define ETH_P_BRCM 0x886c

/* Global ASSERT type flag */
u32 g_assert_type;

Expand Down Expand Up @@ -947,7 +945,7 @@ void brcmf_rx_frame(dhd_pub_t *dhdp, int ifidx, struct sk_buff *skb,
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);
Expand Down

0 comments on commit cb645ab

Please sign in to comment.