diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.h b/drivers/net/wireless/iwlwifi/iwl-3945.h index ac1226946aa6..333c85077211 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.h +++ b/drivers/net/wireless/iwlwifi/iwl-3945.h | |||
@@ -280,8 +280,8 @@ struct iwl3945_frame { | |||
280 | 280 | ||
281 | #define SEQ_TO_QUEUE(x) ((x >> 8) & 0xbf) | 281 | #define SEQ_TO_QUEUE(x) ((x >> 8) & 0xbf) |
282 | #define QUEUE_TO_SEQ(x) ((x & 0xbf) << 8) | 282 | #define QUEUE_TO_SEQ(x) ((x & 0xbf) << 8) |
283 | #define SEQ_TO_INDEX(x) (x & 0xff) | 283 | #define SEQ_TO_INDEX(x) ((u8)(x & 0xff)) |
284 | #define INDEX_TO_SEQ(x) (x & 0xff) | 284 | #define INDEX_TO_SEQ(x) ((u8)(x & 0xff)) |
285 | #define SEQ_HUGE_FRAME (0x4000) | 285 | #define SEQ_HUGE_FRAME (0x4000) |
286 | #define SEQ_RX_FRAME __constant_cpu_to_le16(0x8000) | 286 | #define SEQ_RX_FRAME __constant_cpu_to_le16(0x8000) |
287 | #define SEQ_TO_SN(seq) (((seq) & IEEE80211_SCTL_SEQ) >> 4) | 287 | #define SEQ_TO_SN(seq) (((seq) & IEEE80211_SCTL_SEQ) >> 4) |