uqmi: use the autoconnect feature
authorFelix Fietkau <nbd@openwrt.org>
Thu, 2 Oct 2014 12:18:58 +0000 (12:18 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 2 Oct 2014 12:18:58 +0000 (12:18 +0000)
commit700e098ab3d666d7e2ef5e3644779cd8dae72ef2
tree75cfe6dcd2f8e72ff32d69910cd31ad7243527be
parentd2b5f93d8cc3cfa02a9cc277f429ed2687c65efe
uqmi: use the autoconnect feature

Instead of connecting once and saving the packet data handle, let the
firmware handle connecting/reconnecting automatically. This is more
reliable and reduces reliance on potentially stale data.

Use the global packet data handle to attempt to disable autoconnect
before restarting the connection. This ensures that the firmware will
take the new APN/auth settings.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42721 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh