X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/870635662ef2bf2853456cbeab353b446d3c11d4..ab31e75d1bc662e62bfea938e4048a395053f51a:/package/mac80211/patches/300-ath9k_gpio_settings.patch diff --git a/package/mac80211/patches/300-ath9k_gpio_settings.patch b/package/mac80211/patches/300-ath9k_gpio_settings.patch index 148ff0c2c..af2057759 100644 --- a/package/mac80211/patches/300-ath9k_gpio_settings.patch +++ b/package/mac80211/patches/300-ath9k_gpio_settings.patch @@ -1,7 +1,7 @@ --- a/drivers/net/wireless/ath/ath9k/debug.c +++ b/drivers/net/wireless/ath/ath9k/debug.c -@@ -927,6 +927,12 @@ int ath9k_init_debug(struct ath_hw *ah) - sc->debug.debugfs_phy, &ah->config.cwm_ignore_extcca)) +@@ -1145,6 +1145,12 @@ int ath9k_init_debug(struct ath_hw *ah) + sc, &fops_regdump)) goto err; + debugfs_create_u32("gpio_mask", S_IRUSR | S_IWUSR, @@ -15,7 +15,7 @@ err: --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h -@@ -791,6 +791,8 @@ struct ath_hw { +@@ -795,6 +795,8 @@ struct ath_hw { int initPDADC; int PDADCdelta; u8 led_pin; @@ -26,7 +26,7 @@ struct ar5416IniArray iniCommon; --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c -@@ -1171,6 +1171,20 @@ static bool ath9k_hw_channel_change(stru +@@ -1212,6 +1212,20 @@ static bool ath9k_hw_channel_change(stru return true; } @@ -47,7 +47,7 @@ bool ath9k_hw_check_alive(struct ath_hw *ah) { int count = 50; -@@ -1459,6 +1473,8 @@ int ath9k_hw_reset(struct ath_hw *ah, st +@@ -1500,6 +1514,8 @@ int ath9k_hw_reset(struct ath_hw *ah, st if (AR_SREV_9300_20_OR_LATER(ah)) ar9003_hw_bb_watchdog_config(ah);