staging: rtl8723au: rtw_dump_xframe(): Use proper ETH_P_* types
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 10 Nov 2014 23:11:42 +0000 (18:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 20:41:48 +0000 (12:41 -0800)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723au_xmit.c

index a67850fe6e5dafa55c20a0165c8852526f287b74..cf31d29d478a7aa5f7427de9c9742bd300b9d5b6 100644 (file)
@@ -306,10 +306,10 @@ static int rtw_dump_xframe(struct rtw_adapter *padapter,
        struct pkt_attrib *pattrib = &pxmitframe->attrib;
        struct xmit_priv *pxmitpriv = &padapter->xmitpriv;
 
-       if ((pxmitframe->frame_tag == DATA_FRAMETAG) &&
-           (pxmitframe->attrib.ether_type != 0x0806) &&
-           (pxmitframe->attrib.ether_type != 0x888e) &&
-           (pxmitframe->attrib.dhcp_pkt != 1))
+       if (pxmitframe->frame_tag == DATA_FRAMETAG &&
+           pxmitframe->attrib.ether_type != ETH_P_ARP &&
+           pxmitframe->attrib.ether_type != ETH_P_PAE &&
+           pxmitframe->attrib.dhcp_pkt != 1)
                rtw_issue_addbareq_cmd23a(padapter, pxmitframe);
 
        mem_addr = pxmitframe->buf_addr;
This page took 0.025931 seconds and 5 git commands to generate.