X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Fkernel%2Fmac80211%2Fpatches%2F500-ath9k_eeprom_debugfs.patch;h=664cf45175837a08946dc9e7647b1906157b4bc2;hp=7f4e68d5ea36dd0092e27f73817866b9f41a555a;hb=48198491496a719dab3d0a0d6cb54153a7682898;hpb=4d953d3a481dd847524eae78c7aae00153bc7efd diff --git a/package/kernel/mac80211/patches/500-ath9k_eeprom_debugfs.patch b/package/kernel/mac80211/patches/500-ath9k_eeprom_debugfs.patch index 7f4e68d5ea..664cf45175 100644 --- a/package/kernel/mac80211/patches/500-ath9k_eeprom_debugfs.patch +++ b/package/kernel/mac80211/patches/500-ath9k_eeprom_debugfs.patch @@ -1,7 +1,7 @@ --- a/drivers/net/wireless/ath/ath9k/debug.c +++ b/drivers/net/wireless/ath/ath9k/debug.c -@@ -1735,6 +1735,53 @@ void ath9k_deinit_debug(struct ath_softc - } +@@ -1481,6 +1481,53 @@ void ath9k_deinit_debug(struct ath_softc + ath9k_spectral_deinit_debug(sc); } +static ssize_t read_file_eeprom(struct file *file, char __user *user_buf, @@ -54,9 +54,9 @@ int ath9k_init_debug(struct ath_hw *ah) { struct ath_common *common = ath9k_hw_common(ah); -@@ -1752,6 +1799,8 @@ int ath9k_init_debug(struct ath_hw *ah) - - ath9k_dfs_init_debug(sc); +@@ -1500,6 +1547,8 @@ int ath9k_init_debug(struct ath_hw *ah) + ath9k_tx99_init_debug(sc); + ath9k_spectral_init_debug(sc); + debugfs_create_file("eeprom", S_IRUSR, sc->debug.debugfs_phy, sc, + &fops_eeprom);