iwlwifi: fix ICT irq table endianness
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 26 Aug 2009 20:15:13 +0000 (22:15 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Aug 2009 18:40:53 +0000 (14:40 -0400)
commit1303dcfd0504565aef8ef63487443ab1f814c00f
tree7671807235e2de638ae15faf8836abb946104028
parent924d6356b216e592f596595757db8e955391a489
iwlwifi: fix ICT irq table endianness

The ICT IRQ table is a set of __le32 values, not u32 values,
so when reading it we need to take into account that it has
to be converted to CPU endianness. This was causing a lot of
trouble on my powerpc box where various things would simply
not work for no apparent reason with 5xxx cards, but worked
with 4965 -- which doesn't use the ICT table.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-dev.h