mac80211: fix a crash on using VHT rates
[oweals/openwrt.git] / package / kernel / mac80211 / patches / 512-ath9k_channelbw_debugfs.patch
index fae31022064cbc5988de5f4ca7735aa9daf4e18f..e8a92c483e0fb3d847c83ed0e141cb903236598f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/ath/ath9k/debug.c
 +++ b/drivers/net/wireless/ath/ath9k/debug.c
-@@ -1360,6 +1360,52 @@ static const struct file_operations fops
+@@ -1361,6 +1361,52 @@ static const struct file_operations fops
        .owner = THIS_MODULE
  };
  
@@ -53,7 +53,7 @@
  int ath9k_init_debug(struct ath_hw *ah)
  {
        struct ath_common *common = ath9k_hw_common(ah);
-@@ -1381,6 +1427,8 @@ int ath9k_init_debug(struct ath_hw *ah)
+@@ -1382,6 +1428,8 @@ int ath9k_init_debug(struct ath_hw *ah)
  
        debugfs_create_file("eeprom", S_IRUSR, sc->debug.debugfs_phy, sc,
                            &fops_eeprom);