Sfoglia il codice sorgente

iwlwifi: mvm: fix endianness in lq_cmd declaration

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>
Johannes Berg 8 anni fa
parent
commit
6909afcade
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      drivers/net/wireless/intel/iwlwifi/mvm/fw-api-rs.h

+ 1 - 1
drivers/net/wireless/intel/iwlwifi/mvm/fw-api-rs.h

@@ -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;