wl1251: fix sparse-generated warnings
[pandora-wifi.git] / drivers / net / wireless / wl12xx / wl1251_tx.h
index 55856c6..dff127f 100644 (file)
@@ -114,7 +114,7 @@ struct tx_control {
 
 struct tx_double_buffer_desc {
        /* Length of payload, including headers. */
-       u16 length;
+       __le16 length;
 
        /*
         * A bit mask that specifies the initial rate to be used
@@ -133,10 +133,10 @@ struct tx_double_buffer_desc {
         * 0x0800 - 48Mbits
         * 0x1000 - 54Mbits
         */
-       u16 rate;
+       __le16 rate;
 
        /* Time in us that a packet can spend in the target */
-       u32 expiry_time;
+       __le32 expiry_time;
 
        /* index of the TX queue used for this packet */
        u8 xmit_queue;
@@ -150,7 +150,7 @@ struct tx_double_buffer_desc {
         * The FW should cut the packet into fragments
         * of this size.
         */
-       u16 frag_threshold;
+       __le16 frag_threshold;
 
        /* Numbers of HW queue blocks to be allocated */
        u8 num_mem_blocks;