openwrt/package/network/utils
Rozhuk Ivan ba7ddae9a9 comgt-ncm: do not attempt to connect if the control device is invalid
After a hardware reconnect, the control device might be unavailable and
attempting to interact with it will lead to hanging gcom calls, leaving
the protocol setup in an unrecoverable state.

Change the protocol handler to bail out early and notify netifd if the
control device is not defined or if the underlying device node does not
exist.

Also ensure that the "disconnect", "connect" and "setmode" commands are
actually defined before trying to invoke them.

Finally attempt to re-query the device manufacturer if it is unset in
the interface state in order to prevent UNUPPORTED_MODEM errors after
a modem hardware reconnect.

Signed-off-by: Rozhuk Ivan <rozhuk.im@gmail.com>
[reword subject and commit message]
Ref: https://github.com/openwrt/openwrt/pull/2352
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-06-17 23:14:46 +02:00
..
adb-enablemodem Move enablemodem from ramips to new package adb-enablemodem and make it used also by TL-MR6400 2017-05-27 07:54:40 +02:00
arptables treewide: switch git.netfilter.org to HTTPS 2017-10-08 21:10:36 +03:00
comgt comgt-ncm: do not attempt to connect if the control device is invalid 2020-06-17 23:14:46 +02:00
curl curl: update to version 7.70.0 2020-05-04 07:59:46 +02:00
dante dante: Fix compile with glibc 2020-04-18 21:06:45 +02:00
ebtables ebtables: update to latest git 2018-06-27 2018-07-02 17:33:55 +02:00
ethtool ethtool: bump to 5.4 2020-01-12 22:19:37 +01:00
iftop iftop: update to HEAD of 2018-10-03 - 77901c 2019-08-18 20:56:41 +02:00
iperf iperf: fix PKG_CONFIG_DEPENDS 2020-01-07 20:52:23 +01:00
iperf3 iperf3: update to 3.7 2019-07-08 16:28:47 +02:00
iproute2 iproute2: update to 5.7.0 2020-06-13 21:36:27 +02:00
ipset ipset: update to 7.4 2019-11-09 14:33:42 +01:00
iptables iptables: update to 1.8.4 2020-03-15 15:55:56 +00:00
iw mac80211: Update to version 5.7-rc3-1 2020-05-21 14:39:34 +02:00
iwcap iwcap: fix handling kill signal during dump 2017-03-14 13:29:03 +01:00
iwinfo iwinfo: update to version 2020-06-03 2020-06-03 16:49:28 +02:00
layerscape/restool layerscape: update restool to LSDK-20.04 2020-05-07 12:53:06 +02:00
linux-atm linux-atm: Include linux/sockios.h for SIOCGSTAMP 2020-04-09 00:12:46 +02:00
maccalc network/utils/maccalc: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
nftables nftables: implement no/json variants 2020-03-29 17:27:54 +01:00
owipcalc network/utils/owipcalc: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
resolveip network/utils/resolveip: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
rssileds rssileds: add dependencies based on LDFLAGS 2020-02-22 14:26:01 +01:00
tcpdump tcpdump: update to 4.9.3 2019-10-12 23:37:00 +02:00
umbim umbim: move package to 'WWAN' submenu 2020-02-24 23:27:50 +01:00
uqmi uqmi: fix indentation style and boundary 2019-07-03 07:45:00 +02:00
wireguard-tools wireguard-tools: bump to 1.0.20200513 2020-05-20 08:14:00 +02:00
wireless-tools treewide: revise library packaging 2019-01-24 10:39:30 +01:00
wpan-tools wpan-tools: clean up Makefile 2019-04-06 19:14:06 +02:00
wwan wwan: replace backticks by $(...) 2020-05-13 19:01:23 +02:00