X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/62d9e800de8a0df483d600263f80e14600751ac3..e2947f4ff34ad1c26c3b7aae778a3b26be675e36:/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch diff --git a/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch b/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch index 2645d5bdf..713a44339 100644 --- a/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch +++ b/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch @@ -1,6 +1,6 @@ --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h -@@ -625,6 +625,7 @@ struct ath_softc { +@@ -624,6 +624,7 @@ struct ath_softc { struct ieee80211_hw *hw; struct device *dev; @@ -8,7 +8,7 @@ int chan_idx; int chan_is_ht; struct survey_info *cur_survey; -@@ -692,6 +693,7 @@ struct ath_softc { +@@ -691,6 +692,7 @@ struct ath_softc { u8 ant_tx, ant_rx; }; @@ -18,7 +18,7 @@ --- a/drivers/net/wireless/ath/ath9k/debug.c +++ b/drivers/net/wireless/ath/ath9k/debug.c -@@ -1607,6 +1607,50 @@ static const struct file_operations fops +@@ -1576,6 +1576,50 @@ static const struct file_operations fops .owner = THIS_MODULE }; @@ -69,7 +69,7 @@ int ath9k_init_debug(struct ath_hw *ah) { struct ath_common *common = ath9k_hw_common(ah); -@@ -1673,5 +1717,8 @@ int ath9k_init_debug(struct ath_hw *ah) +@@ -1642,5 +1686,8 @@ int ath9k_init_debug(struct ath_hw *ah) debugfs_create_file("eeprom", S_IRUSR, sc->debug.debugfs_phy, sc, &fops_eeprom);