From f1dcfec6d843cddeb2c56f9829efc52eeafb158c Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Mon, 9 Mar 2015 14:07:06 +0000
Subject: [PATCH] ncm, qmi, mbim: Add dependency on wwan package

The wwan package holds the hotplug script to set mobile broadband
interfaces (un)available. Add it as a dependency to comgt-ncm,
uqmi and umbim.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 44631
---
 package/network/utils/comgt/Makefile | 2 +-
 package/network/utils/umbim/Makefile | 2 +-
 package/network/utils/uqmi/Makefile  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/network/utils/comgt/Makefile b/package/network/utils/comgt/Makefile
index 2501682e65..31d7bc7722 100644
--- a/package/network/utils/comgt/Makefile
+++ b/package/network/utils/comgt/Makefile
@@ -44,7 +44,7 @@ endef
 define Package/comgt-ncm
 $(call Package/comgt/Default)
   TITLE+=NCM 3G/4G Support
-  DEPENDS:=+comgt
+  DEPENDS:=+comgt +wwan
 endef
 
 define Package/comgt/description
diff --git a/package/network/utils/umbim/Makefile b/package/network/utils/umbim/Makefile
index 64e4acc7b3..ea461d5798 100644
--- a/package/network/utils/umbim/Makefile
+++ b/package/network/utils/umbim/Makefile
@@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/cmake.mk
 define Package/umbim
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+libubox +kmod-usb-net +kmod-usb-net-cdc-mbim
+  DEPENDS:=+libubox +kmod-usb-net +kmod-usb-net-cdc-mbim +wwan
   TITLE:=Control utility for mobile broadband modems
 endef
 
diff --git a/package/network/utils/uqmi/Makefile b/package/network/utils/uqmi/Makefile
index 3704faf7cc..8ca7b85f64 100644
--- a/package/network/utils/uqmi/Makefile
+++ b/package/network/utils/uqmi/Makefile
@@ -24,7 +24,7 @@ include $(INCLUDE_DIR)/cmake.mk
 define Package/uqmi
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+libubox +libblobmsg-json +kmod-usb-net +kmod-usb-net-qmi-wwan
+  DEPENDS:=+libubox +libblobmsg-json +kmod-usb-net +kmod-usb-net-qmi-wwan +wwan
   TITLE:=Control utility for mobile broadband modems
 endef
 
-- 
GitLab