ath9k: fix handling of rate control probe frames
authorFelix Fietkau <nbd@openwrt.org>
Thu, 21 Oct 2010 00:47:24 +0000 (02:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Oct 2010 18:45:55 +0000 (14:45 -0400)
commit0299a50abb5ee8d605c93b61b70e51a717c9960b
treef2d00c20821eaf5028b0d907d32ab52c456459e9
parent0845735e2d1e4c177076d4bc2d841d9f77e95131
ath9k: fix handling of rate control probe frames

The ath9k aggregation code was already checking the rate control probe flag
to prevent starting an aggregate frame with a sampling rate. What was missing
was closing an aggregate before adding a probing frame to it.
Without that, rate control cannot have precise control over probing, which
delays using faster rates when the channel conditions improve.

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