uqmi: do not block proto handler if modem is unable to registrate
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 12 Apr 2018 11:20:49 +0000 (13:20 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:22:06 +0000 (17:22 +0100)
commit1e012fd697d87a2ace9e0c2e046a206b377dc18c
tree1d28b7fcfe9ed4358427c2c43c28e1e4e5323ab8
parent5c10aaa65b1cb054d584b5abad73582975864e19
uqmi: do not block proto handler if modem is unable to registrate

QMI proto setup-handler will wait forever if it is unable to registrate to
the mobile network. To fix this stop polling network registration status
and notify netifd. Netifd will generate then a "ifup-failed" ACTION.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(backported from dec1bfa0f48d43174921d1a1357a4842f9ba0cf6)
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh