summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2025-09-03 20:56:43 +0000
committerHauke Mehrtens2025-09-04 10:09:35 +0000
commita51d246e85f52198b79fb3be9ab1fe579c368d52 (patch)
tree1ce13faaa9989109a61b5e413426ced86ef455d0
parent6fdff789cdca01c1294a49a84b586c148047fb3b (diff)
downloadopenwrt-a51d246e85f52198b79fb3be9ab1fe579c368d52.tar.gz
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@hauke-m.de>
-rw-r--r--package/kernel/mac80211/patches/rt2x00/602-04-wifi-rt2x00-Support-EEPROM-swap-binding.patch2
-rw-r--r--package/kernel/mac80211/patches/rt2x00/602-05-wifi-rt2x00-support-loading-eeprom-from-NVMEM-cells.patch2
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@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@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