ath9k: Fix bug in reading debugfs file 'rcstat'
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 9 Mar 2009 04:02:01 +0000 (09:32 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Mar 2009 22:09:38 +0000 (18:09 -0400)
commit62b4fb66c5611c4e2b9279810c2d037fb5b5fa68
tree9040289449937542a1833365debac2a8fa45ca12
parentc37452b0687e5c8942dd4866f7c614105e6050c3
ath9k: Fix bug in reading debugfs file 'rcstat'

The rate table would not have been chosen before the interface
has been brought up. Reading 'rcstat' in this case would result
in an oops, fix this.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/debug.c