ath9k: create a common debugfs_root for all device instances
authorGabor Juhos <juhosg@openwrt.org>
Thu, 5 Mar 2009 15:55:18 +0000 (16:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Mar 2009 22:09:27 +0000 (18:09 -0400)
commit19d8bc22bcea749da2ba065a1ff9e054fadb556e
tree69c5d473198e963bdb298fb9411e1f52f7770067
parent0eeb59fe2cd84b62f374874a59e62402e13f48b3
ath9k: create a common debugfs_root for all device instances

The driver are trying to create an 'ath9k' directory in debugfs for each
device currently. If there are more than one device in the system, the
second try will always fail.

Changes-licensed-under: ISC

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/debug.c
drivers/net/wireless/ath9k/debug.h
drivers/net/wireless/ath9k/main.c