aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2011-11-17 19:05:11 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-11-21 16:20:47 -0500
commit4bf218c03328beeed60ded10d173468f6a551caa (patch)
tree517a584fffeb04df9d48ad4af8d7b44ab9b4ffb3 /drivers/net
parent1daf04b8ac51f911f32aedc77f7f6559924d8ab3 (diff)
iwlwifi: fix endianity issues in debug prints
Use the CPUed version of the variables when printing data from the BA notification. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-tx.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
index 4ce64d7ad3be..a1a95d5f3923 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
@@ -921,11 +921,9 @@ int iwlagn_rx_reply_compressed_ba(struct iwl_priv *priv,
921 ba_resp->sta_id); 921 ba_resp->sta_id);
922 IWL_DEBUG_TX_REPLY(priv, "TID = %d, SeqCtl = %d, bitmap = 0x%llx, " 922 IWL_DEBUG_TX_REPLY(priv, "TID = %d, SeqCtl = %d, bitmap = 0x%llx, "
923 "scd_flow = %d, scd_ssn = %d\n", 923 "scd_flow = %d, scd_ssn = %d\n",
924 ba_resp->tid, 924 ba_resp->tid, ba_resp->seq_ctl,
925 ba_resp->seq_ctl,
926 (unsigned long long)le64_to_cpu(ba_resp->bitmap), 925 (unsigned long long)le64_to_cpu(ba_resp->bitmap),
927 ba_resp->scd_flow, 926 scd_flow, ba_resp_scd_ssn);
928 ba_resp->scd_ssn);
929 927
930 /* Mark that the expected block-ack response arrived */ 928 /* Mark that the expected block-ack response arrived */
931 agg->wait_for_ba = false; 929 agg->wait_for_ba = false;