提交 cb645abd 编写于 作者: A Arend van Spriel 提交者: Greg Kroah-Hartman

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: NArend van Spriel <arend@broadcom.com>
Reviewed-by: NRoland Vossen <rvossen@broadcom.com>
Reviewed-by: NFranky Lin <frankyl@broadcom.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 c8796cbe
无相关合并请求
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部