ath9k: OF: qca,disable-(2|5)ghz => ieee80211-freq-limit
[openwrt/staging/chunkeey.git] / package / kernel / mac80211 / patches / ath9k / 552-ath9k-ahb_of.patch
index 2552bbc7a143b80041d183224553b3ffee79f0b8..fce6db21672e48c99683313c66ab262bc3b423db 100644 (file)
@@ -16,7 +16,7 @@
  
  static const struct platform_device_id ath9k_platform_id_table[] = {
        {
-@@ -69,6 +77,242 @@ static const struct ath_bus_ops ath_ahb_
+@@ -69,6 +77,236 @@ static const struct ath_bus_ops ath_ahb_
        .eeprom_read = ath_ahb_eeprom_read,
  };
  
 +      else
 +              pdata->led_pin = -1;
 +
-+      if (of_property_read_bool(pdev->dev.of_node, "qca,disable-2ghz"))
-+              pdata->disable_2ghz = true;
-+
-+      if (of_property_read_bool(pdev->dev.of_node, "qca,disable-5ghz"))
-+              pdata->disable_5ghz = true;
-+
 +      if (of_property_read_bool(pdev->dev.of_node, "qca,tx-gain-buffalo"))
 +              pdata->tx_gain_buffalo = true;
 +