summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9003_mac.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-28 00:32:21 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-08-30 15:38:53 -0400
commita75c0629716ea19ff934ef4ff1c31a4610bcb408 (patch)
treea6aa471b8860e0924a9470137c4726455eaa821e /drivers/net/wireless/ath/ath9k/ar9003_mac.c
parent29e76245d46ff530bb2b0311e9fc823fc07b1147 (diff)
downloadblackbird-op-linux-a75c0629716ea19ff934ef4ff1c31a4610bcb408.tar.gz
blackbird-op-linux-a75c0629716ea19ff934ef4ff1c31a4610bcb408.zip
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/ar9003_mac.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mac.c b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
index 8ace36e77399..d08ab930e430 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
@@ -312,7 +312,7 @@ static int ar9003_hw_proc_txdesc(struct ath_hw *ah, void *ds,
static void ar9003_hw_set11n_txdesc(struct ath_hw *ah, void *ds,
u32 pktlen, enum ath9k_pkt_type type, u32 txpower,
- u32 keyIx, enum ath9k_key_type keyType, u32 flags)
+ u8 keyIx, enum ath9k_key_type keyType, u32 flags)
{
struct ar9003_txc *ads = (struct ar9003_txc *) ds;
OpenPOWER on IntegriCloud