ath9k: fix too early enabling of rx during ath_startrecv()
commit952949738aba19f84dae9def18e0baa58f0ce0b8
authorFelix Fietkau <nbd@openwrt.org>
Thu, 7 Apr 2011 17:30:32 +0000 (7 19:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Apr 2011 20:57:36 +0000 (12 16:57 -0400)
treee6e325a9ab184a8e1a297ee91f94e5575e9bde44
parent264bbec811024e39fe8f9e7a45743f81f373529e
ath9k: fix too early enabling of rx during ath_startrecv()

rx should only be enabled after enough rx buffers have been given to the
hardware, however ath_rx_buf_link was calling ath9k_hw_rxena after every
single added buffer.
Fix this by calling ath9k_hw_rxena directly from the rx tasklet after
completion instead.

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