iwlwifi: allow to zero SRAM
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 9 Jan 2013 09:37:59 +0000 (11:37 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 16 Jan 2013 13:18:56 +0000 (14:18 +0100)
commit01387ffd19f37b4026fd0e4c32260bc25f6469d4
tree194681d0eb77facf9c74a463ecbb1d1dc054b4b0
parentb1cf1bc160a94f2d56863522982160c9373b8860
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>
drivers/net/wireless/iwlwifi/iwl-trans.h
drivers/net/wireless/iwlwifi/pcie/trans.c