Commit 7dd1e720 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Use proper ETH_P_* types in rtw_recv.c

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f4337aa3
...@@ -576,7 +576,7 @@ static struct recv_frame *portctrl(struct rtw_adapter *adapter, ...@@ -576,7 +576,7 @@ static struct recv_frame *portctrl(struct rtw_adapter *adapter,
struct sta_priv *pstapriv ; struct sta_priv *pstapriv ;
struct recv_frame *prtnframe; struct recv_frame *prtnframe;
u16 ether_type = 0; u16 ether_type = 0;
u16 eapol_type = 0x888e;/* for Funia BD's WPA issue */ u16 eapol_type = ETH_P_PAE;/* for Funia BD's WPA issue */
struct rx_pkt_attrib *pattrib; struct rx_pkt_attrib *pattrib;
pstapriv = &adapter->stapriv; pstapriv = &adapter->stapriv;
...@@ -2102,7 +2102,7 @@ int recv_indicatepkt_reorder(struct rtw_adapter *padapter, ...@@ -2102,7 +2102,7 @@ int recv_indicatepkt_reorder(struct rtw_adapter *padapter,
/* s1. */ /* s1. */
wlanhdr_to_ethhdr(prframe); wlanhdr_to_ethhdr(prframe);
if ((pattrib->qos!= 1) || (pattrib->eth_type == 0x0806) || if ((pattrib->qos!= 1) || (pattrib->eth_type == ETH_P_ARP) ||
(pattrib->ack_policy != 0)) { (pattrib->ack_policy != 0)) {
if ((padapter->bDriverStopped == false) && if ((padapter->bDriverStopped == false) &&
(padapter->bSurpriseRemoved == false)) { (padapter->bSurpriseRemoved == false)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment