ath9k_hw: clean up ath9k_hw_setuprxdesc
authorFelix Fietkau <nbd@openwrt.org>
Wed, 14 Mar 2012 15:40:27 +0000 (16:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Mar 2012 17:45:04 +0000 (13:45 -0400)
commitaebc0a88ddf514ef2b3cdba0b3f14883b8b0e339
tree116324893f9376e0fdd6e3a7174563d706698ef7
parent239c795d6ba9ada0811cdb4f87304552de29e81b
ath9k_hw: clean up ath9k_hw_setuprxdesc

The ATH9K_HW_CAP_AUTOSLEEP check is bogus, the rx status area needs to be
cleared on all non-EDMA PCI/AHB based chipsets anyway.
Limit the memset to the rx status area to improve performance.

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