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)
commit889a056b97d78612f08547b5912e4fd54ba332e4
tree75cfe6dcd2f8e72ff32d69910cd31ad7243527be
parent4f2926eebad1eaec6e72c7655815b58b38345e1b
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>
SVN-Revision: 42721
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh