iwlwifi: fix indirect write bug
authorAmnon Paz <amnonX.paz@intel.com>
Wed, 27 Feb 2013 09:28:16 +0000 (11:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 15:48:02 +0000 (16:48 +0100)
commitf9477c17c2ce59f64462635c3e5d43c98c0ad67f
tree7fa7e589ad0e60efecab8b0b5bfba4af497127a2
parent490953ac344725f56746d16ef8480842f4087fc4
iwlwifi: fix indirect write bug

Fix a bug in writing to indirect (periphery) registers; although
writes seem successful the data is not written to the desired
address). Also fix address mask for HBUS_TARG_PRPH_RADDR and
HBUS_TARG_PRPH_WADDR registers.

Signed-off-by: Amnon Paz <amnonX.paz@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/trans.c