diff mbox series

[OpenWrt-Devel,19.07] ramips: add kmod-mt7615e to Xiaomi Mi Router 3 Pro

Message ID 20200112101314.6332-1-pepe.schlehofer@gmail.com
State Accepted
Delegated to: Adrian Schmutzler
Headers show
Series [OpenWrt-Devel,19.07] ramips: add kmod-mt7615e to Xiaomi Mi Router 3 Pro | expand

Commit Message

Josef Schlehofer Jan. 12, 2020, 10:13 a.m. UTC
From: Ozgur Can Leonard <ozgurcan@gmail.com>

The package kmod-mt7615e was added to this router in the master branch
[1] to have working Wi-Fi, but it is not included in OpenWrt 19.07. It was reported
on OpenWrt forum [2] and tested that after installing this package Wi-Fi
works.

[1] https://github.com/openwrt/openwrt/commit/d7c082ba4f7de97b3708d1f4a064954ffc774778
[2] https://forum.openwrt.org/t/xiaomi-r3p-no-wifi-with-latest-stable-19-07-0-after-upgrade/52299

Signed-off-by: Ozgur Can Leonard <ozgurcan@gmail.com>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[added commit message]
---
 target/linux/ramips/image/mt7621.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Adrian Schmutzler Jan. 12, 2020, 12:14 p.m. UTC | #1
Hi Josef,


> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces@lists.openwrt.org]
> On Behalf Of Josef Schlehofer
> Sent: Sonntag, 12. Januar 2020 11:13
> To: openwrt-devel@lists.openwrt.org
> Subject: [OpenWrt-Devel] [PATCH] [19.07] ramips: add kmod-mt7615e to
> Xiaomi Mi Router 3 Pro
> 
> From: Ozgur Can Leonard <ozgurcan@gmail.com>
> 
> The package kmod-mt7615e was added to this router in the master branch
> [1] to have working Wi-Fi, but it is not included in OpenWrt 19.07. It was
> reported on OpenWrt forum [2] and tested that after installing this package
> Wi-Fi works.
> 
> [1]
> https://github.com/openwrt/openwrt/commit/d7c082ba4f7de97b3708d1f4a
> 064954ffc774778
> [2] https://forum.openwrt.org/t/xiaomi-r3p-no-wifi-with-latest-stable-19-
> 07-0-after-upgrade/52299
> 

I'd actually prefer to just cherry-pick the referenced commit [1] from master to openwrt-19.07, so we do not have different patches in master and 19.07.

I've put the backported version in my staging-19.07 branch:
https://git.openwrt.org/?p=openwrt/staging/adrian.git;a=shortlog;h=refs/heads/staging-19.07

Are you fine with that?

Best

Adrian
diff mbox series

Patch

diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 03ab9a4c37..6280a6246f 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -265,7 +265,7 @@  define Device/xiaomi_mir3p
   IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
   IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE)
   DEVICE_PACKAGES := \
-	kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic uboot-envtools
+	kmod-mt7615e kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic uboot-envtools
 endef
 TARGET_DEVICES += xiaomi_mir3p