diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-07-08 14:29:48 -0700 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-07-21 07:29:03 -0700 |
commit | 2e27799621f9b6dc69d9fac5e365cb867eac539c (patch) | |
tree | 500599583a44c485aae95518e187f171d59896f6 /drivers/net/wireless/iwlwifi/iwl-commands.h | |
parent | ad3f71244c93412087ae93aabce39c4a9fb12891 (diff) | |
download | op-kernel-dev-2e27799621f9b6dc69d9fac5e365cb867eac539c.zip op-kernel-dev-2e27799621f9b6dc69d9fac5e365cb867eac539c.tar.gz |
iwlagn: radio sensor offset in le16 format
For temperature offset calibration, send radio sensor offset in le16 format
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-commands.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-commands.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index d7f20c8..80174d1 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h @@ -3237,11 +3237,11 @@ struct iwl_calib_xtal_freq_cmd { u8 pad[2]; } __packed; -#define DEFAULT_RADIO_SENSOR_OFFSET 2700 +#define DEFAULT_RADIO_SENSOR_OFFSET cpu_to_le16(2700) struct iwl_calib_temperature_offset_cmd { struct iwl_calib_hdr hdr; - s16 radio_sensor_offset; - s16 reserved; + __le16 radio_sensor_offset; + __le16 reserved; } __packed; /* IWL_PHY_CALIBRATE_CHAIN_NOISE_RESET_CMD */ |