From: Hauke Mehrtens Date: Wed, 3 Sep 2025 20:56:43 +0000 (+0200) Subject: mac80211: Refresh patches X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=a51d246e85f52198b79fb3be9ab1fe579c368d52;p=openwrt%2Fopenwrt.git 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 --- 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 + 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 +#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