]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k: clean up tx buffer setup
authorFelix Fietkau <nbd@openwrt.org>
Thu, 11 Nov 2010 02:18:37 +0000 (03:18 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 16 Nov 2010 21:37:08 +0000 (16:37 -0500)
commit82b873afe83c81d9b1273a816bbdacb266f71a52
treecbe6e4032c45774b5fb53a189c0665abdd1b2eb4
parent61117f01e79f7c0da86c23535bed757370f5885f
ath9k: clean up tx buffer setup

Merge ath_tx_send_normal and ath_tx_send_ht_normal.
Move the paprd state initialization and sequence number assignment
to reduce the number of redundant checks.

This not only simplifies buffer allocation error handling, but also
removes a small inconsistency in the buffer HT flag.
This flag should only be set if the frame is also a QoS data frame.

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