Skip to content

Commit

Permalink
iwlwifi: api: fix u32 -> __le32
Browse files Browse the repository at this point in the history
Even if we don't currently use this value, the firmware is putting
whatever it's putting there as __le32, so fix that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200930191738.4207116e9c7a.I6d9aa1371f9a8b4e5565236d23255b5c05c70bb3@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
  • Loading branch information
Johannes Berg authored and Luca Coelho committed Oct 1, 2020
1 parent b4248c0 commit eb95a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/intel/iwlwifi/fw/api/alive.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ struct iwl_umac_alive {
} __packed; /* UMAC_ALIVE_DATA_API_S_VER_2 */

struct iwl_sku_id {
u32 data[3];
__le32 data[3];
} __packed; /* SKU_ID_API_S_VER_1 */

struct iwl_alive_ntf_v3 {
Expand Down

0 comments on commit eb95a26

Please sign in to comment.