summaryrefslogtreecommitdiff
path: root/include/uapi/linux/wimax
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-08-01 16:17:47 -0700
committerDavid S. Miller <davem@davemloft.net>2013-08-02 12:33:54 -0700
commite216975ad97cfcfc436789aa66d59a0e93f337f7 (patch)
tree663a82d6e67757a80f51d4e9dda1c714bb92d6a6 /include/uapi/linux/wimax
parentbd3f5433255292d8d5080b532e729a577ec4912c (diff)
uapi: Convert some uses of 6 to ETH_ALEN
Use the #define where appropriate. Add #include <linux/if_ether.h> where appropriate too. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/wimax')
-rw-r--r--include/uapi/linux/wimax/i2400m.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/wimax/i2400m.h b/include/uapi/linux/wimax/i2400m.h
index 62d356153565..fd198bc24a3c 100644
--- a/include/uapi/linux/wimax/i2400m.h
+++ b/include/uapi/linux/wimax/i2400m.h
@@ -122,7 +122,7 @@
#define __LINUX__WIMAX__I2400M_H__
#include <linux/types.h>
-
+#include <linux/if_ether.h>
/*
* Host Device Interface (HDI) common to all busses
@@ -487,7 +487,7 @@ struct i2400m_tlv_l4_message_versions {
struct i2400m_tlv_detailed_device_info {
struct i2400m_tlv_hdr hdr;
__u8 reserved1[400];
- __u8 mac_address[6];
+ __u8 mac_address[ETH_ALEN];
__u8 reserved2[2];
} __attribute__((packed));