[openwrt/openwrt] mac80211: Refresh patches

LEDE Commits lede-commits at lists.infradead.org
Thu Sep 4 03:11:16 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a51d246e85f52198b79fb3be9ab1fe579c368d52

commit a51d246e85f52198b79fb3be9ab1fe579c368d52
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Wed Sep 3 22:56:43 2025 +0200

    mac80211: Refresh patches
    
    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 at hauke-m.de>
---
 .../patches/rt2x00/602-04-wifi-rt2x00-Support-EEPROM-swap-binding.patch | 2 +-
 .../602-05-wifi-rt2x00-support-loading-eeprom-from-NVMEM-cells.patch    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/mac80211/patches/rt2x00/602-04-wifi-rt2x00-Support-EEPROM-swap-binding.patch b/package/kernel/mac80211/patches/rt2x00/602-04-wifi-rt2x00-Support-EEPROM-swap-binding.patch
index 184b73f271..960b5c09bb 100644
--- a/package/kernel/mac80211/patches/rt2x00/602-04-wifi-rt2x00-Support-EEPROM-swap-binding.patch
+++ b/package/kernel/mac80211/patches/rt2x00/602-04-wifi-rt2x00-Support-EEPROM-swap-binding.patch
@@ -32,7 +32,7 @@ Signed-off-by: Christian Marangi <ansuelsmth at 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;
  	}
diff --git a/package/kernel/mac80211/patches/rt2x00/602-05-wifi-rt2x00-support-loading-eeprom-from-NVMEM-cells.patch b/package/kernel/mac80211/patches/rt2x00/602-05-wifi-rt2x00-support-loading-eeprom-from-NVMEM-cells.patch
index 30b5de904c..b649890e93 100644
--- a/package/kernel/mac80211/patches/rt2x00/602-05-wifi-rt2x00-support-loading-eeprom-from-NVMEM-cells.patch
+++ b/package/kernel/mac80211/patches/rt2x00/602-05-wifi-rt2x00-support-loading-eeprom-from-NVMEM-cells.patch
@@ -41,7 +41,7 @@ Signed-off-by: Christian Marangi <ansuelsmth at 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




More information about the lede-commits mailing list