uqmi: use the autoconnect feature
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 2 Oct 2014 12:18:58 +0000 (12:18 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 2 Oct 2014 12:18:58 +0000 (12:18 +0000)
commitdbcb0fa70e80fc572b12f43635b5a61f76e317dc
tree75cfe6dcd2f8e72ff32d69910cd31ad7243527be
parent6d20fbeed06b3af1e93efb5b197febc52fd1a764
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