aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-04-01 11:51:47 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-04-08 16:43:50 -0400
commita0b484fee72fc18eb9145011a5edec922fafbc15 (patch)
treea71180b9a8104253657f28c9e43e91724c17a32e /drivers/net/wireless/iwlwifi/iwl-4965.h
parent16788599a9601cbba6ad7b58b3b52227ea59c013 (diff)
iwlwifi: fix some warnings
This fixes all kinds of warnings in iwlwifi. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h
index c8e7028cdf2a..0ec217da48d4 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.h
@@ -294,8 +294,8 @@ struct iwl4965_frame {
294 294
295#define SEQ_TO_QUEUE(x) ((x >> 8) & 0xbf) 295#define SEQ_TO_QUEUE(x) ((x >> 8) & 0xbf)
296#define QUEUE_TO_SEQ(x) ((x & 0xbf) << 8) 296#define QUEUE_TO_SEQ(x) ((x & 0xbf) << 8)
297#define SEQ_TO_INDEX(x) (x & 0xff) 297#define SEQ_TO_INDEX(x) ((u8)(x & 0xff))
298#define INDEX_TO_SEQ(x) (x & 0xff) 298#define INDEX_TO_SEQ(x) ((u8)(x & 0xff))
299#define SEQ_HUGE_FRAME (0x4000) 299#define SEQ_HUGE_FRAME (0x4000)
300#define SEQ_RX_FRAME __constant_cpu_to_le16(0x8000) 300#define SEQ_RX_FRAME __constant_cpu_to_le16(0x8000)
301#define SEQ_TO_SN(seq) (((seq) & IEEE80211_SCTL_SEQ) >> 4) 301#define SEQ_TO_SN(seq) (((seq) & IEEE80211_SCTL_SEQ) >> 4)