diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-08-28 02:32:21 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-30 23:38:53 +0400 |
commit | a75c0629716ea19ff934ef4ff1c31a4610bcb408 (patch) | |
tree | a6aa471b8860e0924a9470137c4726455eaa821e /drivers/net/wireless/ath/ath9k/mac.h | |
parent | 29e76245d46ff530bb2b0311e9fc823fc07b1147 (diff) |
ath9k: use u8 for the tx key index
This saves some space in struct ath_frame_info
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mac.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/mac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mac.h b/drivers/net/wireless/ath/ath9k/mac.h index 2c43e13da002..acb83bfd05a0 100644 --- a/drivers/net/wireless/ath/ath9k/mac.h +++ b/drivers/net/wireless/ath/ath9k/mac.h @@ -195,7 +195,7 @@ struct ath_htc_rx_status { #define ATH9K_RX_DECRYPT_BUSY 0x40 #define ATH9K_RXKEYIX_INVALID ((u8)-1) -#define ATH9K_TXKEYIX_INVALID ((u32)-1) +#define ATH9K_TXKEYIX_INVALID ((u8)-1) enum ath9k_phyerr { ATH9K_PHYERR_UNDERRUN = 0, /* Transmit underrun */ |