]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mac80211: Refresh patches
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 3 Sep 2025 20:56:43 +0000 (22:56 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 4 Sep 2025 10:09:35 +0000 (12:09 +0200)
Automatically Refresh the patches.

Fixes: 4d3a35f3689 ("mac80211: remove rt2x00_platform_data")
Link: https://github.com/openwrt/openwrt/pull/19948
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/mac80211/patches/rt2x00/602-04-wifi-rt2x00-Support-EEPROM-swap-binding.patch
package/kernel/mac80211/patches/rt2x00/602-05-wifi-rt2x00-support-loading-eeprom-from-NVMEM-cells.patch

index 184b73f2711e8733a168bde854113be218482191..960b5c09bb8469c95c0b161886419e8bd649605f 100644 (file)
@@ -32,7 +32,7 @@ Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
 +
  static int rt2800lib_read_eeprom_mtd(struct rt2x00_dev *rt2x00dev)
  {
-       int ret = -EINVAL;
+       struct device_node *np = rt2x00dev->dev->of_node, *mtd_np = NULL;
 @@ -65,6 +78,8 @@ static int rt2800lib_read_eeprom_mtd(str
                return ret;
        }
index 30b5de904c8e2bb7c83f2f7dd87260bd7e30df38..b649890e93431e865e98d7d8373922b39d079e5f 100644 (file)
@@ -41,7 +41,7 @@ Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
 +#if IS_ENABLED(CONFIG_MTD)
  static int rt2800lib_read_eeprom_mtd(struct rt2x00_dev *rt2x00dev)
  {
-       int ret = -EINVAL;
+       struct device_node *np = rt2x00dev->dev->of_node, *mtd_np = NULL;
 @@ -86,6 +87,40 @@ static int rt2800lib_read_eeprom_mtd(str
  }
  #endif