package/comgt: Handle bind/unbind events
authorArjun AK <arjunak234@gmail.com>
Thu, 16 Jul 2020 15:52:24 +0000 (21:22 +0530)
committerPetr Štetiar <ynezz@true.cz>
Fri, 2 Jul 2021 09:33:44 +0000 (11:33 +0200)
commitfc4b5411b3a2105df4655e9623277d88489f6710
tree100528b2b9c61d92a4b9b4ecec308b4a95912ddf
parentd666ebcaa327a1e03992a484d9601ea5f2e6b19a
package/comgt: Handle bind/unbind events

This script was expecting only add/remove events which has not been the
case since Kernel 4.12 (which added bind/unbind). Bind events were getting
treated as remove events which would cause hotplugged 3g modems to not
work.

More info:
https://lkml.org/lkml/2018/12/23/128
https://github.com/systemd/systemd/issues/8221

Signed-off-by: Arjun AK <arjunak234@gmail.com>
(cherry picked from commit 89ef883b92b3a87d9ab1bd289de26b9e72681dac)
package/network/utils/comgt/files/3g.usb