Skip to content

Commit

Permalink
d1: Use correct module for devices with wifi
Browse files Browse the repository at this point in the history
Devices with wifi (LicheePi RV and MangoPi MQ Pro) were using the
wrong module.  Also wpad was missing to enable using the WiFi.

Signed-off-by: Raylynn Knight <rayknight@me.com>
Link: openwrt/openwrt#17576
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  • Loading branch information
RaylynnKnight authored and hauke committed Jan 13, 2025
1 parent 97681b4 commit 8a17bae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions target/linux/d1/base-files/etc/board.d/02_network
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
board_config_update

case "$(board_name)" in
sipeed,lichee-rv-dock |\
widora,mangopi-mq-pro)
ucidef_set_interface_lan "wlan0"
;;
*)
ucidef_set_interface_lan 'eth0'
;;
Expand Down
4 changes: 2 additions & 2 deletions target/linux/d1/image/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ define Device/sipeed_lichee-rv-dock
DEVICE_MODEL := LicheePi RV (dock)
DEVICE_DTS := allwinner/sun20i-d1-lichee-rv-dock
SUPPORTED_DEVICES += lichee_rv_dock
DEVICE_PACKAGES += kmod-rtl8723bs
DEVICE_PACKAGES += kmod-rtw88-8723ds wpad-basic-mbedtls
UBOOT := lichee_rv_dock
endef
TARGET_DEVICES += sipeed_lichee-rv-dock
Expand All @@ -76,7 +76,7 @@ define Device/widora_mangopi-mq-pro
DEVICE_MODEL := MQ Pro
DEVICE_DTS := allwinner/sun20i-d1-mangopi-mq-pro
SUPPORTED_DEVICES += mangopi_mq_pro
DEVICE_PACKAGES += kmod-rtl8723bs
DEVICE_PACKAGES += kmod-rtw88-8723ds wpad-basic-mbedtls
UBOOT := mangopi_mq_pro
endef
TARGET_DEVICES += widora_mangopi-mq-pro
Expand Down

0 comments on commit 8a17bae

Please sign in to comment.