summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/510-ath9k_debugfs_chainmask.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-15 01:16:40 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-15 01:16:40 +0000
commit8f8c254d1f6b42d1a6f67b26e29fd4f2dcb91c61 (patch)
treeb87c43a312e236e4de933bf52b058894fd3c0927 /package/mac80211/patches/510-ath9k_debugfs_chainmask.patch
parent23e340324090a30fa3fa50aa2301a9ec6e78bd1f (diff)
mac80211: update to wireless-testing+wireless-2.6 from 2010-01-13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19139 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/510-ath9k_debugfs_chainmask.patch')
-rw-r--r--package/mac80211/patches/510-ath9k_debugfs_chainmask.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/mac80211/patches/510-ath9k_debugfs_chainmask.patch b/package/mac80211/patches/510-ath9k_debugfs_chainmask.patch
index 157098a69d..7d043d693b 100644
--- a/package/mac80211/patches/510-ath9k_debugfs_chainmask.patch
+++ b/package/mac80211/patches/510-ath9k_debugfs_chainmask.patch
@@ -91,7 +91,7 @@
static ssize_t read_file_dma(struct file *file, char __user *user_buf,
size_t count, loff_t *ppos)
{
-@@ -600,6 +684,16 @@ int ath9k_init_debug(struct ath_hw *ah)
+@@ -710,6 +794,16 @@ int ath9k_init_debug(struct ath_hw *ah)
goto err;
#endif
@@ -108,18 +108,18 @@
sc->debug.debugfs_dma = debugfs_create_file("dma", S_IRUSR,
sc->debug.debugfs_phy, sc, &fops_dma);
if (!sc->debug.debugfs_dma)
-@@ -643,6 +737,8 @@ void ath9k_exit_debug(struct ath_hw *ah)
+@@ -760,6 +854,8 @@ void ath9k_exit_debug(struct ath_hw *ah)
struct ath_common *common = ath9k_hw_common(ah);
struct ath_softc *sc = (struct ath_softc *) common->priv;
+ debugfs_remove(sc->debug.debugfs_tx_chainmask);
+ debugfs_remove(sc->debug.debugfs_rx_chainmask);
+ debugfs_remove(sc->debug.debugfs_recv);
debugfs_remove(sc->debug.debugfs_xmit);
debugfs_remove(sc->debug.debugfs_wiphy);
- debugfs_remove(sc->debug.debugfs_rcstat);
--- a/drivers/net/wireless/ath/ath9k/debug.h
+++ b/drivers/net/wireless/ath/ath9k/debug.h
-@@ -123,6 +123,8 @@ struct ath_stats {
+@@ -148,6 +148,8 @@ struct ath_stats {
};
struct ath9k_debug {