ath9k: fix hardware tx queue allocation order
[openwrt/staging/chunkeey.git] / package / kernel / mac80211 / patches / 500-ath9k_eeprom_debugfs.patch
index 321e75e43ca11c498be336a4d432e79654cc1433..dfcbe5693f3c031daf155cfb0f83e0da5b5b9c7a 100644 (file)
@@ -1,7 +1,7 @@
 --- a/drivers/net/wireless/ath/ath9k/debug.c
 +++ b/drivers/net/wireless/ath/ath9k/debug.c
-@@ -1782,6 +1782,53 @@ void ath9k_deinit_debug(struct ath_softc
-       }
+@@ -1314,6 +1314,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);
-@@ -1800,6 +1847,8 @@ int ath9k_init_debug(struct ath_hw *ah)
-       ath9k_dfs_init_debug(sc);
+@@ -1333,6 +1380,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);