You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
adb-enablemodem Move enablemodem from ramips to new package adb-enablemodem and make it used also by TL-MR6400 7 years ago
arptables treewide: switch git.netfilter.org to HTTPS 7 years ago
comgt comgt-ncm: do not attempt to connect if the control device is invalid 4 years ago
curl curl: update to version 7.70.0 4 years ago
dante dante: Fix compile with glibc 4 years ago
ebtables ebtables: update to latest git 2018-06-27 6 years ago
ethtool ethtool: bump to 5.4 4 years ago
iftop iftop: update to HEAD of 2018-10-03 - 77901c 5 years ago
iperf iperf: fix PKG_CONFIG_DEPENDS 4 years ago
iperf3 iperf3: update to 3.7 5 years ago
iproute2 iproute2: update to 5.7.0 4 years ago
ipset ipset: update to 7.4 5 years ago
iptables iptables: update to 1.8.4 4 years ago
iw mac80211: Update to version 5.7-rc3-1 4 years ago
iwcap iwcap: fix handling kill signal during dump 7 years ago
iwinfo iwinfo: update to version 2020-06-03 4 years ago
layerscape/restool layerscape: update restool to LSDK-20.04 4 years ago
linux-atm linux-atm: Include linux/sockios.h for SIOCGSTAMP 4 years ago
maccalc network/utils/maccalc: drop Build/Prepare rule in favor of default one 8 years ago
nftables nftables: implement no/json variants 4 years ago
owipcalc network/utils/owipcalc: drop Build/Prepare rule in favor of default one 8 years ago
resolveip network/utils/resolveip: drop Build/Prepare rule in favor of default one 8 years ago
rssileds rssileds: add dependencies based on LDFLAGS 4 years ago
tcpdump tcpdump: update to 4.9.3 5 years ago
umbim umbim: move package to 'WWAN' submenu 4 years ago
uqmi uqmi: fix indentation style and boundary 5 years ago
wireguard-tools wireguard-tools: bump to 1.0.20200513 4 years ago
wireless-tools treewide: revise library packaging 5 years ago
wpan-tools wpan-tools: clean up Makefile 5 years ago
wwan wwan: replace backticks by $(...) 4 years ago