Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8723au: rtw_dump_xframe(): Use proper ETH_P_* types

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jes Sorensen and committed by
Greg Kroah-Hartman
22f42e2a a0c5ff0b

+4 -4
+4 -4
drivers/staging/rtl8723au/hal/rtl8723au_xmit.c
··· 306 306 struct pkt_attrib *pattrib = &pxmitframe->attrib; 307 307 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; 308 308 309 - if ((pxmitframe->frame_tag == DATA_FRAMETAG) && 310 - (pxmitframe->attrib.ether_type != 0x0806) && 311 - (pxmitframe->attrib.ether_type != 0x888e) && 312 - (pxmitframe->attrib.dhcp_pkt != 1)) 309 + if (pxmitframe->frame_tag == DATA_FRAMETAG && 310 + pxmitframe->attrib.ether_type != ETH_P_ARP && 311 + pxmitframe->attrib.ether_type != ETH_P_PAE && 312 + pxmitframe->attrib.dhcp_pkt != 1) 313 313 rtw_issue_addbareq_cmd23a(padapter, pxmitframe); 314 314 315 315 mem_addr = pxmitframe->buf_addr;