mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
ba7ddae9a9
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> |
||
---|---|---|
.. | ||
adb-enablemodem | ||
arptables | ||
comgt | ||
curl | ||
dante | ||
ebtables | ||
ethtool | ||
iftop | ||
iperf | ||
iperf3 | ||
iproute2 | ||
ipset | ||
iptables | ||
iw | ||
iwcap | ||
iwinfo | ||
layerscape/restool | ||
linux-atm | ||
maccalc | ||
nftables | ||
owipcalc | ||
resolveip | ||
rssileds | ||
tcpdump | ||
umbim | ||
uqmi | ||
wireguard-tools | ||
wireless-tools | ||
wpan-tools | ||
wwan |