diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-03-26 11:23:39 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2012-04-16 17:49:56 -0400 |
commit | d9fb6465802c2279ea14cc26eb66d17c133478b1 (patch) | |
tree | 976d0ac36c6fa9e4f0a09a08d4354b335ab692ab /drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c | |
parent | c14c73728b8feb01d9142f9241bf14601cfb86f7 (diff) |
iwlwifi: remove get_cmd_string
The command strings are needed through the layers for
debug and error messages, but can differ with opmode.
As a result, we need to give the command names to the
transport layer as configuration.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c index bf83806130e7..de78fb8dca9f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c | |||
@@ -393,8 +393,9 @@ static void iwl_rx_handle_rxbuf(struct iwl_trans *trans, | |||
393 | break; | 393 | break; |
394 | 394 | ||
395 | IWL_DEBUG_RX(trans, "cmd at offset %d: %s (0x%.2x)\n", | 395 | IWL_DEBUG_RX(trans, "cmd at offset %d: %s (0x%.2x)\n", |
396 | rxcb._offset, get_cmd_string(pkt->hdr.cmd), | 396 | rxcb._offset, |
397 | pkt->hdr.cmd); | 397 | trans_pcie_get_cmd_string(trans_pcie, pkt->hdr.cmd), |
398 | pkt->hdr.cmd); | ||
398 | 399 | ||
399 | len = le32_to_cpu(pkt->len_n_flags) & FH_RSCSR_FRAME_SIZE_MSK; | 400 | len = le32_to_cpu(pkt->len_n_flags) & FH_RSCSR_FRAME_SIZE_MSK; |
400 | len += sizeof(u32); /* account for status word */ | 401 | len += sizeof(u32); /* account for status word */ |