[openwrt/openwrt] wifi-scripts: add missing dependency on ucode-mod-rtnl

LEDE Commits lede-commits at lists.infradead.org
Tue Jul 23 14:50:17 PDT 2024


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

commit 2d31004133838faab8a8882eb251819754a225c4
Author: FUKAUMI Naoki <naoki at radxa.com>
AuthorDate: Thu Jul 11 06:33:41 2024 +0900

    wifi-scripts: add missing dependency on ucode-mod-rtnl
    
    rtnl is used in hostap/common.uc.
    
    $ grep -r rtnl files
    files/usr/share/hostap/common.uc:import * as rtnl from "rtnl";
    files/usr/share/hostap/common.uc:            rtnl.request(rtnl.const.RTM_SETLINK, 0, { dev: reuse_ifname, ifname: name}) != false))
    files/usr/share/hostap/common.uc:       rtnl.request(rtnl.const.RTM_SETLINK, 0, { dev: name, change: 1, flags: up ? 1 : 0 });
    
    Signed-off-by: FUKAUMI Naoki <naoki at radxa.com>
    Link: https://github.com/openwrt/openwrt/pull/15922
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/network/config/wifi-scripts/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/config/wifi-scripts/Makefile b/package/network/config/wifi-scripts/Makefile
index 8074f90105..ae41f74949 100644
--- a/package/network/config/wifi-scripts/Makefile
+++ b/package/network/config/wifi-scripts/Makefile
@@ -19,7 +19,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/wifi-scripts
   SECTION:=utils
   CATEGORY:=Base system
-  DEPENDS:=+netifd +ucode +ucode-mod-nl80211 +ucode-mod-ubus +ucode-mod-uci
+  DEPENDS:=+netifd +ucode +ucode-mod-nl80211 +ucode-mod-rtnl +ucode-mod-ubus +ucode-mod-uci
   TITLE:=Wi-Fi configuration scripts
   PKGARCH:=all
 endef




More information about the lede-commits mailing list