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)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:22:06 +0000 (17:22 +0100)
commit5a3810b386040a6424ba2f16c7805eb492002fb8
tree57bb3b7c56b8b113e456e844b8b6a920467eb55b
parent1e012fd697d87a2ace9e0c2e046a206b377dc18c
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>
(backported from f171a86d064ac3fcfff05d286becae87c2e26b5f)
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh