openwrt/package
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
..
base-files base-files: prevent issues w/ overlay on powerloss after sysupgrade 2020-06-03 16:49:28 +02:00
boot ath79: add support for the Netgear WNDRMAC v1 2020-06-11 01:44:13 +02:00
devel kernel: fix portability issue with perf on linux 5.4 2020-06-04 21:52:57 +02:00
firmware ipq40xx: add support for EnGenius EMR3500 2020-06-13 14:38:03 +02:00
kernel kirkwood: move mmc/sd features to modules 2020-06-14 21:16:20 +02:00
libs uclient: uclient-fetch: add option to read POST data from file 2020-06-17 16:38:35 +01:00
network comgt-ncm: do not attempt to connect if the control device is invalid 2020-06-17 23:14:46 +02:00
system mtd: enable wrgg support for ath79 2020-06-11 19:44:36 +03:00
utils exfat-utils: move into packages feed 2020-06-03 16:49:28 +02:00
Makefile packages: apply usign padding workarounds to package indexes if needed 2019-08-07 07:15:07 +02:00