diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-08-27 18:32:21 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-30 15: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 { | |||
195 | #define ATH9K_RX_DECRYPT_BUSY 0x40 | 195 | #define ATH9K_RX_DECRYPT_BUSY 0x40 |
196 | 196 | ||
197 | #define ATH9K_RXKEYIX_INVALID ((u8)-1) | 197 | #define ATH9K_RXKEYIX_INVALID ((u8)-1) |
198 | #define ATH9K_TXKEYIX_INVALID ((u32)-1) | 198 | #define ATH9K_TXKEYIX_INVALID ((u8)-1) |
199 | 199 | ||
200 | enum ath9k_phyerr { | 200 | enum ath9k_phyerr { |
201 | ATH9K_PHYERR_UNDERRUN = 0, /* Transmit underrun */ | 201 | ATH9K_PHYERR_UNDERRUN = 0, /* Transmit underrun */ |