ath9k: fix ready time of the multicast buffer queue
authorFelix Fietkau <nbd@openwrt.org>
Sun, 9 Mar 2014 10:02:54 +0000 (11:02 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Mar 2014 18:49:14 +0000 (14:49 -0400)
commit3b3e0efb5c72c4fc940af50b33626b8a78a907dc
tree140b316ad5a2edc56428f34eb62876f29125f8a2
parent6caefd1271910820db81d4c951a1fe2c9e16ee0b
ath9k: fix ready time of the multicast buffer queue

qi->tqi_readyTime is written directly to registers that expect
microseconds as unit instead of TU.
When setting the CABQ ready time, cur_conf->beacon_interval is in TU, so
convert it to microseconds before passing it to ath9k_hw.

This should hopefully fix some Tx DMA issues with buffered multicast
frames in AP mode.

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