uqmi: do not block proto handler if SIM is uninitialized
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 10 Apr 2018 13:56:24 +0000 (15:56 +0200)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Thu, 11 Oct 2018 10:18:16 +0000 (12:18 +0200)
commitf171a86d064ac3fcfff05d286becae87c2e26b5f
tree1a5567db0ed60e778abd1767ba9ac9f6e6b0b188
parentdec1bfa0f48d43174921d1a1357a4842f9ba0cf6
uqmi: do not block proto handler if SIM is uninitialized

QMI proto setup-handler will wait forever if SIM does not get initialized.
To fix this stop polling pin status and notify netifd. Netifd will generate
then a "ifup-failed" ACTION.

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