diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-03-11 19:17:19 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-13 19:32:33 -0400 |
commit | 0310ae721d1b7aaf10dd8b712a3a83c355786970 (patch) | |
tree | e0dae1832c01b57d1654dba3437b4789f3c74619 /drivers/net/wireless/iwlwifi | |
parent | 6bc913bd965e03b5273a5366eecce5c28c9b01da (diff) |
iwlwifi: Fix endianity in debug print
This patch fix debug print out endianity issue for bitmap
Since u64 and le64 variables are casted to unsigned long long,
after patch 'wireless: correct warnings from using '%llx' for type 'u64'
also bitmaps need to be converted to native endianity
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index dc55ff294b73..3401f2a30cc5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -4263,7 +4263,7 @@ static void iwl4965_rx_reply_compressed_ba(struct iwl4965_priv *priv, | |||
4263 | "%d, scd_ssn = %d\n", | 4263 | "%d, scd_ssn = %d\n", |
4264 | ba_resp->tid, | 4264 | ba_resp->tid, |
4265 | ba_resp->seq_ctl, | 4265 | ba_resp->seq_ctl, |
4266 | (unsigned long long)ba_resp->bitmap, | 4266 | (unsigned long long)le64_to_cpu(ba_resp->bitmap), |
4267 | ba_resp->scd_flow, | 4267 | ba_resp->scd_flow, |
4268 | ba_resp->scd_ssn); | 4268 | ba_resp->scd_ssn); |
4269 | IWL_DEBUG_TX_REPLY("DAT start_idx = %d, bitmap = 0x%llx \n", | 4269 | IWL_DEBUG_TX_REPLY("DAT start_idx = %d, bitmap = 0x%llx \n", |