diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2013-01-09 13:37:59 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-16 17:18:56 +0400 |
commit | 01387ffd19f37b4026fd0e4c32260bc25f6469d4 (patch) | |
tree | 194681d0eb77facf9c74a463ecbb1d1dc054b4b0 /drivers/net/wireless/iwlwifi/iwl-trans.h | |
parent | b1cf1bc160a94f2d56863522982160c9373b8860 (diff) | |
download | linux-01387ffd19f37b4026fd0e4c32260bc25f6469d4.tar.xz |
iwlwifi: allow to zero SRAM
Sending a NULL pointer to iwl_trans_write_mem allows now
to zero SRAM.
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-trans.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h index b0d5c715ca1e..55a140ade5a7 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans.h +++ b/drivers/net/wireless/iwlwifi/iwl-trans.h @@ -391,7 +391,8 @@ struct iwl_trans; * @read_prph: read a DWORD from a periphery register * @write_prph: write a DWORD to a periphery register * @read_mem: read device's SRAM in DWORD - * @write_mem: write device's SRAM in DWORD + * @write_mem: write device's SRAM in DWORD. If %buf is %NULL, then the memory + * will be zeroed. * @configure: configure parameters required by the transport layer from * the op_mode. May be called several times before start_fw, can't be * called after that. |