]> Pileus Git - ~andy/linux/commit
ath9k: initialize hw prior to debugfs
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 7 Oct 2009 01:19:07 +0000 (21:19 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Oct 2009 20:39:51 +0000 (16:39 -0400)
commit211f5859af951788a3fe4752142a5e9047afa5d8
tree2d1048397c2eb66950a688ac43cebccc4f818816
parentfaa27fae7da900b6d977124410caa3d014676478
ath9k: initialize hw prior to debugfs

debugfs uses the hardware for several debugfs files as such the
hardware must be initialized and available prior to its usage. The
same applies to when we free the hw structs -- free debufs file
entries prior to free'ing the hardware.

Reported-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath.h
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/main.c