diff options
author | Arend van Spriel <[email protected]> | 2011-06-29 16:47:40 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2011-07-05 09:57:21 -0700 |
commit | cb645abd454fea5a625fd0921b19356680cb7241 (patch) | |
tree | 682bfc4230331747241b815e5cf26b5e8ba66d13 | |
parent | c8796cbeabba6dd946b78edea71dbee90edabbf0 (diff) |
staging: brcm80211: use linux native ethertype iso ETH_P_BRCM
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 <[email protected]>
Reviewed-by: Roland Vossen <[email protected]>
Reviewed-by: Franky Lin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/brcm80211/brcmfmac/dhd_linux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c index 19e09bd82643..c3cbda6cc078 100644 --- a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c +++ b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c @@ -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; @@ -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); |