]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1b78e988036fdf6bb056287fe198ba1c1aaef74
tree9040289449937542a1833365debac2a8fa45ca12
parent061a6efbccd822001547f317794e788503fc8c6f
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