iwlwifi: rename iwl_fw_error_fw_mon to iwl_fw_error_dump_fw_mon
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 26 Jun 2014 06:54:23 +0000 (09:54 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 6 Jul 2014 08:16:16 +0000 (11:16 +0300)
This is matches the convention of the other structures.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h
drivers/net/wireless/iwlwifi/pcie/trans.c

index 9fd860f8287197dc39793affb334a608bd76220c..c39a0b899e83aef7b780786b01f90e29039d9259 100644 (file)
@@ -147,14 +147,14 @@ struct iwl_fw_error_dump_info {
 } __packed;
 
 /**
- * struct iwl_fw_error_fw_mon - FW monitor data
+ * struct iwl_fw_error_dump_fw_mon - FW monitor data
  * @fw_mon_wr_ptr: the position of the write pointer in the cyclic buffer
  * @fw_mon_base_ptr: base pointer of the data
  * @fw_mon_cycle_cnt: number of wrap arounds
  * @reserved: for future use
  * @data: captured data
  */
-struct iwl_fw_error_fw_mon {
+struct iwl_fw_error_dump_fw_mon {
        __le32 fw_mon_wr_ptr;
        __le32 fw_mon_base_ptr;
        __le32 fw_mon_cycle_cnt;
index 5703a3d7799b380937152ae5fadeceab853f42ef..5b5b0d8c6f6051f7dd0311cf1437090d36a1d2f2 100644 (file)
@@ -1787,7 +1787,7 @@ static u32 iwl_trans_pcie_dump_data(struct iwl_trans *trans,
                cmdq->q.n_window * (sizeof(*txcmd) + TFD_MAX_PAYLOAD_SIZE);
 
        if (trans_pcie->fw_mon_page)
-               len += sizeof(*data) + sizeof(struct iwl_fw_error_fw_mon) +
+               len += sizeof(*data) + sizeof(struct iwl_fw_error_dump_fw_mon) +
                        trans_pcie->fw_mon_size;
 
        if (!buf)
@@ -1822,7 +1822,7 @@ static u32 iwl_trans_pcie_dump_data(struct iwl_trans *trans,
        len += sizeof(*data);
 
        if (trans_pcie->fw_mon_page) {
-               struct iwl_fw_error_fw_mon *fw_mon_data;
+               struct iwl_fw_error_dump_fw_mon *fw_mon_data;
 
                data = iwl_fw_error_next_data(data);
                data->type = cpu_to_le32(IWL_FW_ERROR_DUMP_FW_MONITOR);