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)
commit4955a2cd10c6ce6e43af4ae1ac15977cdfe2df06
treec34d08a9275bdc0e570e8a21848281b21981fe48
parentb54144a4c7133c6aa76434fc5b28da9806148e29
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