aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ray_cs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-12-22 13:45:50 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:09:11 -0500
commit0e5ce1f33049a823f508f4a3f53ba186b12396b8 (patch)
tree1bd83ce139e0531d38947d1aa95670f5eca3b826 /drivers/net/wireless/ray_cs.c
parent5b5e807fb8b56e31319fe8b27e1b072bb80862a8 (diff)
misc wireless annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ray_cs.c')
-rw-r--r--drivers/net/wireless/ray_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c
index 8ba28a515d4a..f3858ee36f32 100644
--- a/drivers/net/wireless/ray_cs.c
+++ b/drivers/net/wireless/ray_cs.c
@@ -998,7 +998,7 @@ static int ray_hw_xmit(unsigned char* data, int len, struct net_device* dev,
998static int translate_frame(ray_dev_t *local, struct tx_msg __iomem *ptx, unsigned char *data, 998static int translate_frame(ray_dev_t *local, struct tx_msg __iomem *ptx, unsigned char *data,
999 int len) 999 int len)
1000{ 1000{
1001 unsigned short int proto = ((struct ethhdr *)data)->h_proto; 1001 __be16 proto = ((struct ethhdr *)data)->h_proto;
1002 if (ntohs(proto) >= 1536) { /* DIX II ethernet frame */ 1002 if (ntohs(proto) >= 1536) { /* DIX II ethernet frame */
1003 DEBUG(3,"ray_cs translate_frame DIX II\n"); 1003 DEBUG(3,"ray_cs translate_frame DIX II\n");
1004 /* Copy LLC header to card buffer */ 1004 /* Copy LLC header to card buffer */