linux/drivers/net/wireless/ath
Senthil Balasubramanian ac45c12dfb ath9k_hw: Fix incorrect macversion and macrev checks
There are few places where we are checking for macversion and revsions
before RTC is powered ON. However we are reading the macversion and
revisions only after RTC is powered ON and so both macversion and
revisions are actully zero and this leads to incorrect srev checks

Incorrect srev checks can cause registers to be configured wrongly and can
cause unexpected behavior. Fixing this seems to address the ASPM issue that
we have observed. The laptop becomes very slow and hangs mostly with ASPM L1
enabled without this fix.

fix this by reading the macversion and revisisons even before we start
using them. There is no reason why should we delay reading this info
until RTC is powered on as this is just a register information.

Cc: Stable Kernel <stable@kernel.org>
Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-01-25 16:33:27 -05:00
..
ar9170 mac80211: track receiver's aggregation reorder buffer size 2011-01-19 11:36:11 -05:00
ath5k ath5k: Simplify loop when setting up channels 2011-01-21 16:21:42 -05:00
ath9k ath9k_hw: Fix incorrect macversion and macrev checks 2011-01-25 16:33:27 -05:00
carl9170 mac80211: track receiver's aggregation reorder buffer size 2011-01-19 11:36:11 -05:00
ath.h ath9k_htc: Add multiple register read API 2011-01-19 11:36:06 -05:00
debug.c ath: Add and use ath_printk and ath_<level> 2010-12-07 16:34:39 -05:00
hw.c ath9k_hw: move the cycle counter tracking to ath 2010-10-11 15:04:20 -04:00
Kconfig
key.c ath: Missed to clear key4 of micentry 2010-12-13 15:23:27 -05:00
main.c ath: Add and use ath_printk and ath_<level> 2010-12-07 16:34:39 -05:00
Makefile ath: Copy key cache management functions from ath9k to ath 2010-09-16 15:19:45 -04:00
reg.h ath9k_hw: move the cycle counter tracking to ath 2010-10-11 15:04:20 -04:00
regd.c ath: fix NULL pointer dereference on reg_notifier() 2010-12-16 15:22:31 -05:00
regd.h
regd_common.h