aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ray_cs.c
diff options
context:
space:
mode:
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 */