diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-12-14 14:12:09 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-21 11:32:07 -0500 |
commit | b7bb1756cb6a610cdbac8cfdad9e79bb5670b63b (patch) | |
tree | 5c4d75da72c31eb33f9c2c18827018a62ac3093c /init | |
parent | af6b8ee38833b39f70946f767740565ceb126961 (diff) |
iwlwifi: fix more eeprom endian bugs
I've also for a long time had a problem with the
temperature calculation code, which I had fixed
by byte-swapping the values, and now it turns out
that was the correct fix after all.
Also, any use of iwl_eeprom_query_addr() that is
for more than a u8 must be cast to little endian,
and some structs as well.
Fix all this. Again, no real impact on platforms
that already are little endian.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: stable@kernel.org
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions