ath9k: use the new API for setting tx descriptors
authorFelix Fietkau <nbd@openwrt.org>
Wed, 14 Sep 2011 19:24:22 +0000 (21:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Sep 2011 20:45:40 +0000 (16:45 -0400)
commit493cf04fd37bf265dc3c9aad357e3e34654c86e3
tree834da35a27d459a4ed0a8208616a51e327c29ba5
parent2b63a41d14245345d6c498506c5634613afa80c0
ath9k: use the new API for setting tx descriptors

With the new API, tx descriptors can be written in one single pass
instead of having to re-read and rewrite fields from multiple places.
This makes the code easier to read and also slightly improves performance
on embedded MIPS hardware.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/beacon.c
drivers/net/wireless/ath/ath9k/xmit.c