iwlwifi: update testmode command of direct register access
authorKenny Hsu <kenny.hsu@intel.com>
Fri, 6 Jan 2012 21:16:29 +0000 (13:16 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:08:35 +0000 (14:08 -0500)
commit102f097f1937db41f59674caca0a1e38c963baba
tree73b4018c7ec465459535a9d80f8e0e09653e3790
parent2da424b0773cea3db47e1e81db71eeebde8269d4
iwlwifi: update testmode command of direct register access

In order to make sure the testcommand function of direct register
access can be performed even NIC is asleep, replace corresponding
handler iwl_read32 and iwl_write32 by using iwl_direct_read32 and
iwl_direct_write32.

Signed-off-by: Kenny Hsu <kenny.hsu@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-testmode.c