aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/mac.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-27 18:32:21 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-30 15:38:53 -0400
commita75c0629716ea19ff934ef4ff1c31a4610bcb408 (patch)
treea6aa471b8860e0924a9470137c4726455eaa821e /drivers/net/wireless/ath/ath9k/mac.h
parent29e76245d46ff530bb2b0311e9fc823fc07b1147 (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.h2
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
200enum ath9k_phyerr { 200enum ath9k_phyerr {
201 ATH9K_PHYERR_UNDERRUN = 0, /* Transmit underrun */ 201 ATH9K_PHYERR_UNDERRUN = 0, /* Transmit underrun */