summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-test.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2012-06-06 08:18:40 +0300
committerJohannes Berg <johannes.berg@intel.com>2012-06-13 09:01:01 +0200
commite4b1681eafa62e2b34710f70ab3494c89cc03130 (patch)
treee4ffe9b33e5ea3e9dfd4c409728a382fe5f599a9 /drivers/net/wireless/iwlwifi/iwl-test.c
parent7eb89baa261ea8f09d7f6ad3c4db270fd7f3d0bd (diff)
iwlwifi: iwl_{read,write}_targ_mem_words takes dwords
Change its name to better reflect this. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-test.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-test.c b/drivers/net/wireless/iwlwifi/iwl-test.c
index 7a264aee253..81e8c7126d7 100644
--- a/drivers/net/wireless/iwlwifi/iwl-test.c
+++ b/drivers/net/wireless/iwlwifi/iwl-test.c
@@ -476,9 +476,9 @@ static int iwl_test_indirect_read(struct iwl_test *tst, u32 addr, u32 size)
iwl_release_nic_access(trans);
spin_unlock_irqrestore(&trans->reg_lock, flags);
} else { /* target memory (SRAM) */
- _iwl_read_targ_mem_words(trans, addr,
- tst->mem.addr,
- tst->mem.size / 4);
+ _iwl_read_targ_mem_dwords(trans, addr,
+ tst->mem.addr,
+ tst->mem.size / 4);
}
tst->mem.nchunks =
@@ -522,7 +522,7 @@ static int iwl_test_indirect_write(struct iwl_test *tst, u32 addr,
*(u32 *)(buf+i));
}
} else if (iwl_test_valid_hw_addr(tst, addr)) {
- _iwl_write_targ_mem_words(trans, addr, buf, size/4);
+ _iwl_write_targ_mem_dwords(trans, addr, buf, size / 4);
} else {
return -EINVAL;
}