iwlwifi: mvm: fix endianness in lq_cmd declaration
authorJohannes Berg <johannes.berg@intel.com>
Mon, 13 Mar 2017 12:40:23 +0000 (13:40 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 2 Jun 2017 11:07:47 +0000 (14:07 +0300)
This member doesn't seem to be used, so this doesn't really
fix anything, but it's better to have the right type there.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw-api-rs.h

index 1b7d265..019a9a9 100644 (file)
@@ -387,7 +387,7 @@ enum {
 struct iwl_lq_cmd {
        u8 sta_id;
        u8 reduced_tpc;
-       u16 control;
+       __le16 control;
        /* LINK_QUAL_GENERAL_PARAMS_API_S_VER_1 */
        u8 flags;
        u8 mimo_delim;