misc wireless annotations
[deliverable/linux.git] / drivers / net / wireless / ray_cs.c
index 8ba28a515d4a9c92b167c3807dbd89f7b8fc3a3b..f3858ee36f32a14f7589cf43c57c3b1ca989738b 100644 (file)
@@ -998,7 +998,7 @@ static int ray_hw_xmit(unsigned char* data, int len, struct net_device* dev,
 static int translate_frame(ray_dev_t *local, struct tx_msg __iomem *ptx, unsigned char *data,
                     int len)
 {
-    unsigned short int proto = ((struct ethhdr *)data)->h_proto;
+    __be16 proto = ((struct ethhdr *)data)->h_proto;
     if (ntohs(proto) >= 1536) { /* DIX II ethernet frame */
         DEBUG(3,"ray_cs translate_frame DIX II\n");
         /* Copy LLC header to card buffer */
This page took 0.024868 seconds and 5 git commands to generate.