ath9k: simplify ath_tx_form_aggr
authorFelix Fietkau <nbd@openwrt.org>
Tue, 6 Aug 2013 12:18:06 +0000 (14:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 9 Aug 2013 19:58:09 +0000 (15:58 -0400)
commita1cd94d345a8f68300c8ccd8422434e54199f68d
treeae7023952a450165fe38142ca138f70b3e1a5314
parent18fcf1c6a6ff4b00fe06e1d0ef05ff76ed2fe86c
ath9k: simplify ath_tx_form_aggr

The check for ATH_AMPDU_SUBFRAME_DEFAULT is unnecessary, since it's set
to half the maximum BlockAck Window size, which is already the maximum
value that h_baw could possibly have. Also remove unnecessary variables.

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/xmit.c