summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/ar9002_mac.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-28 02:32:21 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-30 23:38:53 +0400
commita75c0629716ea19ff934ef4ff1c31a4610bcb408 (patch)
treea6aa471b8860e0924a9470137c4726455eaa821e /drivers/net/wireless/ath/ath9k/ar9002_mac.c
parent29e76245d46ff530bb2b0311e9fc823fc07b1147 (diff)
downloadlinux-a75c0629716ea19ff934ef4ff1c31a4610bcb408.tar.xz
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/ar9002_mac.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9002_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_mac.c b/drivers/net/wireless/ath/ath9k/ar9002_mac.c
index 45b262fe2c25..33deb0d574b0 100644
--- a/drivers/net/wireless/ath/ath9k/ar9002_mac.c
+++ b/drivers/net/wireless/ath/ath9k/ar9002_mac.c
@@ -273,7 +273,7 @@ static int ar9002_hw_proc_txdesc(struct ath_hw *ah, void *ds,
static void ar9002_hw_set11n_txdesc(struct ath_hw *ah, void *ds,
u32 pktLen, enum ath9k_pkt_type type,
- u32 txPower, u32 keyIx,
+ u32 txPower, u8 keyIx,
enum ath9k_key_type keyType, u32 flags)
{
struct ar5416_desc *ads = AR5416DESC(ds);