]> git.karo-electronics.de Git - linux-beck.git/commitdiff
iwlwifi: mvm: mark scratch area in TX command
authorJohannes Berg <johannes.berg@intel.com>
Mon, 10 Jun 2013 13:58:13 +0000 (15:58 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 13 Jun 2013 10:06:27 +0000 (12:06 +0200)
Give the scratch area a sub structure so it's marked
explicitly and it is obvious which part it is.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw-api-tx.h

index 6994232f572611703e67903c793115d05beb0b42..700cce731770ab800640a421b2c99b3d06b6fad1 100644 (file)
@@ -228,10 +228,11 @@ struct iwl_tx_cmd {
        __le16 len;
        __le16 next_frame_len;
        __le32 tx_flags;
-       /* DRAM_SCRATCH_API_U_VER_1 */
-       u8 try_cnt;
-       u8 btkill_cnt;
-       __le16 reserved;
+       struct {
+               u8 try_cnt;
+               u8 btkill_cnt;
+               __le16 reserved;
+       } scratch; /* DRAM_SCRATCH_API_U_VER_1 */
        __le32 rate_n_flags;
        u8 sta_id;
        u8 sec_ctl;