diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-tx.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c index 725f62fce7a5..166f0001e01d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-tx.c | |||
@@ -1260,8 +1260,13 @@ void iwl_tx_cmd_complete(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb) | |||
1260 | * command queue then there a command routing bug has been introduced | 1260 | * command queue then there a command routing bug has been introduced |
1261 | * in the queue management code. */ | 1261 | * in the queue management code. */ |
1262 | if (WARN(txq_id != IWL_CMD_QUEUE_NUM, | 1262 | if (WARN(txq_id != IWL_CMD_QUEUE_NUM, |
1263 | "wrong command queue %d, command id 0x%X\n", txq_id, pkt->hdr.cmd)) | 1263 | "wrong command queue %d, sequence 0x%X readp=%d writep=%d\n", |
1264 | txq_id, sequence, | ||
1265 | priv->txq[IWL_CMD_QUEUE_NUM].q.read_ptr, | ||
1266 | priv->txq[IWL_CMD_QUEUE_NUM].q.write_ptr)) { | ||
1267 | iwl_print_hex_dump(priv, IWL_DL_INFO , rxb, 32); | ||
1264 | return; | 1268 | return; |
1269 | } | ||
1265 | 1270 | ||
1266 | cmd_index = get_cmd_index(&priv->txq[IWL_CMD_QUEUE_NUM].q, index, huge); | 1271 | cmd_index = get_cmd_index(&priv->txq[IWL_CMD_QUEUE_NUM].q, index, huge); |
1267 | cmd = priv->txq[IWL_CMD_QUEUE_NUM].cmd[cmd_index]; | 1272 | cmd = priv->txq[IWL_CMD_QUEUE_NUM].cmd[cmd_index]; |