summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/510-ath9k_debugfs_regaccess.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/510-ath9k_debugfs_regaccess.patch')
-rw-r--r--package/mac80211/patches/510-ath9k_debugfs_regaccess.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mac80211/patches/510-ath9k_debugfs_regaccess.patch b/package/mac80211/patches/510-ath9k_debugfs_regaccess.patch
index 9fba252af6..3827ed9c21 100644
--- a/package/mac80211/patches/510-ath9k_debugfs_regaccess.patch
+++ b/package/mac80211/patches/510-ath9k_debugfs_regaccess.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
-@@ -794,6 +794,86 @@ static const struct file_operations fops
+@@ -795,6 +795,86 @@ static const struct file_operations fops
.owner = THIS_MODULE
};
@@ -87,7 +87,7 @@
int ath9k_init_debug(struct ath_hw *ah)
{
struct ath_common *common = ath9k_hw_common(ah);
-@@ -863,6 +943,17 @@ int ath9k_init_debug(struct ath_hw *ah)
+@@ -864,6 +944,17 @@ int ath9k_init_debug(struct ath_hw *ah)
if (!sc->debug.debugfs_recv)
goto err;
@@ -105,7 +105,7 @@
return 0;
err:
ath9k_exit_debug(ah);
-@@ -876,6 +967,8 @@ void ath9k_exit_debug(struct ath_hw *ah)
+@@ -877,6 +968,8 @@ void ath9k_exit_debug(struct ath_hw *ah)
debugfs_remove(sc->debug.debugfs_tx_chainmask);
debugfs_remove(sc->debug.debugfs_rx_chainmask);