diff options
author | Sven Eckelmann <sven@narfation.org> | 2013-01-31 10:26:48 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-02-01 14:27:24 -0500 |
commit | 128243740923b2b14d16be2545233a75ba4a2c0f (patch) | |
tree | 18e5d84c2e6df44d9904ca482f23bf08b159baea /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | 00b54182344ea2ca3e570fd8d9803f8e7dc98fb4 (diff) | |
download | op-kernel-dev-128243740923b2b14d16be2545233a75ba4a2c0f.zip op-kernel-dev-128243740923b2b14d16be2545233a75ba4a2c0f.tar.gz |
ath9k: Fix sparse __CHECK_ENDIAN__ for spectral code
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index 21e2e42..97c90b2 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h @@ -871,7 +871,7 @@ enum ath_fft_sample_type { struct fft_sample_tlv { u8 type; /* see ath_fft_sample */ - u16 length; + __be16 length; /* type dependent data follows */ } __packed; @@ -880,15 +880,15 @@ struct fft_sample_ht20 { u8 max_exp; - u16 freq; + __be16 freq; s8 rssi; s8 noise; - u16 max_magnitude; + __be16 max_magnitude; u8 max_index; u8 bitmap_weight; - u64 tsf; + __be64 tsf; u8 data[SPECTRAL_HT20_NUM_BINS]; } __packed; |