summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655/tether.h
diff options
context:
space:
mode:
authorCharles Clément <caratorn@gmail.com>2010-05-19 11:30:51 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-18 10:06:53 -0700
commit670ea81eadf68fa68023731e3f747fd6b0c61dd4 (patch)
treea771958e427785b2093d12f4c1b424cbc504f3e1 /drivers/staging/vt6655/tether.h
parentc92069f3d74c9b62dcffb359a4ae00388290d338 (diff)
Staging: vt6655: use is_multicast_ether_addr instead of custom macro
Replace custom macro IS_MULTICAST_ADDRESS by is_multicast_ether_addr from <linux/etherdevice.h>. Remove linux/if_ether.h include as it is included in linux/etherdevice.h already. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655/tether.h')
-rw-r--r--drivers/staging/vt6655/tether.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/vt6655/tether.h b/drivers/staging/vt6655/tether.h
index 99fdc032d47a..5365e7fadeab 100644
--- a/drivers/staging/vt6655/tether.h
+++ b/drivers/staging/vt6655/tether.h
@@ -29,7 +29,7 @@
#ifndef __TETHER_H__
#define __TETHER_H__
-#include <linux/if_ether.h>
+#include <linux/etherdevice.h>
#include "ttype.h"
/*--------------------- Export Definitions -------------------------*/
@@ -188,9 +188,6 @@ S802_11Header, *PS802_11Header;
/*--------------------- Export Macros ------------------------------*/
// Frame type macro
-#define IS_MULTICAST_ADDRESS(pbyEtherAddr) \
- ((*(PBYTE)(pbyEtherAddr) & 0x01) == 1)
-
#define IS_BROADCAST_ADDRESS(pbyEtherAddr) ( \
(*(PDWORD)(pbyEtherAddr) == 0xFFFFFFFFL) && \
(*(PWORD)((PBYTE)(pbyEtherAddr) + 4) == 0xFFFF) \