iwlwifi: fix endianity issues in debug prints
authorEmmanuel Grumbach <[email protected]>
Fri, 18 Nov 2011 00:05:11 +0000 (16:05 -0800)
committerJohn W. Linville <[email protected]>
Mon, 21 Nov 2011 21:20:47 +0000 (16:20 -0500)
Use the CPUed version of the variables when printing data from the
BA notification.

Signed-off-by: Emmanuel Grumbach <[email protected]>
Signed-off-by: Wey-Yi Guy <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/iwlwifi/iwl-agn-tx.c

index 4ce64d7ad3bed3d2011776eb536af31e124d8f22..a1a95d5f3923e7f93811b466f48a4411f81d2046 100644 (file)
@@ -921,11 +921,9 @@ int iwlagn_rx_reply_compressed_ba(struct iwl_priv *priv,
                           ba_resp->sta_id);
        IWL_DEBUG_TX_REPLY(priv, "TID = %d, SeqCtl = %d, bitmap = 0x%llx, "
                           "scd_flow = %d, scd_ssn = %d\n",
-                          ba_resp->tid,
-                          ba_resp->seq_ctl,
+                          ba_resp->tid, ba_resp->seq_ctl,
                           (unsigned long long)le64_to_cpu(ba_resp->bitmap),
-                          ba_resp->scd_flow,
-                          ba_resp->scd_ssn);
+                          scd_flow, ba_resp_scd_ssn);
 
        /* Mark that the expected block-ack response arrived */
        agg->wait_for_ba = false;