From 17837a5bec7f1c311b6b7a1b3f4833b8554e4dce Mon Sep 17 00:00:00 2001 From: Tomas Winkler Date: Thu, 16 Aug 2007 22:11:07 +0300 Subject: [PATCH 03/31] iwlwifi: EEPROM band 5 endianity fix This patch fixes edianity for band5 channels. This is leftover from the 'EEPROM endianity fix' patch. Signed-off-by: Ian Schram Signed-off-by: Tomas Winkler Signed-off-by: Zhu Yi --- drivers/net/wireless/iwl-eeprom.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/iwl-eeprom.h b/drivers/net/wireless/iwl-eeprom.h index 74bc28f..e473c97 100644 --- a/drivers/net/wireless/iwl-eeprom.h +++ b/drivers/net/wireless/iwl-eeprom.h @@ -285,7 +285,7 @@ struct iwl_eeprom { #define EEPROM_REGULATORY_BAND_4_CHANNELS (2*0x8D) /* 22 bytes */ struct iwl_eeprom_channel band_4_channels[11]; /* abs.ofs: 282 */ #define EEPROM_REGULATORY_BAND_5 (2*0x98) /* 2 bytes */ - __le16 band_5_count; /* abs.ofs: 304 */ + u16 band_5_count; /* abs.ofs: 304 */ #define EEPROM_REGULATORY_BAND_5_CHANNELS (2*0x99) /* 12 bytes */ struct iwl_eeprom_channel band_5_channels[6]; /* abs.ofs: 306 */ -- 1.5.2