aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/debugfs.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-05-24 23:47:34 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 14:28:36 -0400
commit0b7db95602d0eb5339c7b7a9c7beff4b146bdeec (patch)
tree70d5498fabbd30c607fdbb3206fac4e28e8138a8 /drivers/net/wireless/libertas/debugfs.c
parent604ba49150987e48a94f2a704ba4e44479901c5c (diff)
[PATCH] libertas: fix removal of all debugfs files
rmmod did not remove /sys/kernel/debug/libertas_wireless/eth1/ subscribed_events/high_snr. After I fixed this, I noticed that it also didn't remove /sys/kernel/debug/libertas_wireless/eth1 as well. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/debugfs.c')
-rw-r--r--drivers/net/wireless/libertas/debugfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/debugfs.c b/drivers/net/wireless/libertas/debugfs.c
index 7d7bc5e86a56..1f06b0752d06 100644
--- a/drivers/net/wireless/libertas/debugfs.c
+++ b/drivers/net/wireless/libertas/debugfs.c
@@ -1760,7 +1760,7 @@ void libertas_debugfs_remove_one(wlan_private *priv)
1760 1760
1761 debugfs_remove(priv->regs_dir); 1761 debugfs_remove(priv->regs_dir);
1762 1762
1763 for(i=0; i<ARRAY_SIZE(debugfs_files); i++) 1763 for(i=0; i<ARRAY_SIZE(debugfs_events_files); i++)
1764 debugfs_remove(priv->debugfs_events_files[i]); 1764 debugfs_remove(priv->debugfs_events_files[i]);
1765 1765
1766 debugfs_remove(priv->events_dir); 1766 debugfs_remove(priv->events_dir);
@@ -1769,6 +1769,7 @@ void libertas_debugfs_remove_one(wlan_private *priv)
1769#endif 1769#endif
1770 for(i=0; i<ARRAY_SIZE(debugfs_files); i++) 1770 for(i=0; i<ARRAY_SIZE(debugfs_files); i++)
1771 debugfs_remove(priv->debugfs_files[i]); 1771 debugfs_remove(priv->debugfs_files[i]);
1772 debugfs_remove(priv->debugfs_dir);
1772} 1773}
1773 1774
1774/* debug entry */ 1775/* debug entry */