mac80211: update to 6.6.15
[openwrt/staging/jow.git] / package / kernel / mac80211 / patches / ath9k / 542-ath9k_debugfs_diag.patch
index 5b64f560fdc531b6feb8c355215cc86de91ab92b..f00ce5f3dca4a70ace6bd3ab4188023746c5494f 100644 (file)
@@ -1,8 +1,8 @@
 --- a/drivers/net/wireless/ath/ath9k/debug.c
 +++ b/drivers/net/wireless/ath/ath9k/debug.c
-@@ -1512,6 +1512,50 @@ static const struct file_operations fops
- #endif
+@@ -1428,6 +1428,50 @@ void ath9k_deinit_debug(struct ath_softc
+       ath9k_cmn_spectral_deinit_debug(&sc->spec_priv);
+ }
  
 +static ssize_t read_file_diag(struct file *file, char __user *user_buf,
 +                           size_t count, loff_t *ppos)
@@ -51,7 +51,7 @@
  int ath9k_init_debug(struct ath_hw *ah)
  {
        struct ath_common *common = ath9k_hw_common(ah);
-@@ -1539,6 +1583,8 @@ int ath9k_init_debug(struct ath_hw *ah)
+@@ -1451,6 +1495,8 @@ int ath9k_init_debug(struct ath_hw *ah)
        debugfs_create_file("gpio_led", S_IWUSR,
                           sc->debug.debugfs_phy, sc, &fops_gpio_led);
  #endif
@@ -84,7 +84,7 @@
        bool reset_power_on;
        bool htc_reset_init;
  
-@@ -1077,6 +1085,7 @@ void ath9k_hw_check_nav(struct ath_hw *a
+@@ -1079,6 +1087,7 @@ void ath9k_hw_check_nav(struct ath_hw *a
  bool ath9k_hw_check_alive(struct ath_hw *ah);
  
  bool ath9k_hw_setpower(struct ath_hw *ah, enum ath9k_power_mode mode);