staging: brcm80211: Convert ETHER_TYPE_802_1X to ETH_P_PAE
authorJoe Perches <joe@perches.com>
Tue, 14 Dec 2010 00:57:04 +0000 (16:57 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Dec 2010 20:21:30 +0000 (12:21 -0800)
Remove now unused #define.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/dhd_linux.c
drivers/staging/brcm80211/include/proto/ethernet.h

index ec6202b..db45083 100644 (file)
@@ -1034,7 +1034,7 @@ int dhd_sendpkt(dhd_pub_t *dhdp, int ifidx, struct sk_buff *pktbuf)
 
                if (is_multicast_ether_addr(eh->ether_dhost))
                        dhdp->tx_multicast++;
-               if (ntoh16(eh->ether_type) == ETHER_TYPE_802_1X)
+               if (ntoh16(eh->ether_type) == ETH_P_PAE)
                        atomic_inc(&dhd->pend_8021x_cnt);
        }
 
@@ -1262,7 +1262,7 @@ void dhd_txcomplete(dhd_pub_t *dhdp, struct sk_buff *txp, bool success)
        eh = (struct ether_header *)(txp->data);
        type = ntoh16(eh->ether_type);
 
-       if (type == ETHER_TYPE_802_1X)
+       if (type == ETH_P_PAE)
                atomic_dec(&dhd->pend_8021x_cnt);
 
 }
index ad55b56..567407d 100644 (file)
@@ -29,7 +29,6 @@
 #define        ETHER_MAX_DATA          1500
 
 #define        ETHER_TYPE_BRCM         0x886c
-#define        ETHER_TYPE_802_1X       0x888e
 
 #define ETHER_DEST_OFFSET      (0 * ETH_ALEN)
 #define ETHER_SRC_OFFSET       (1 * ETH_ALEN)