uqmid: WDS: disable autoconnect on start network
authorAlexander Couzens <[email protected]>
Wed, 14 Aug 2024 12:36:16 +0000 (14:36 +0200)
committerDavid Bauer <[email protected]>
Sat, 31 May 2025 20:41:00 +0000 (22:41 +0200)
The autoconnect features prevents uqmid from working correctly,
because the autoconnected connection doesn't contain a valid aid
which is required to control the connection.

Signed-off-by: Alexander Couzens <[email protected]>
uqmid/modem_tx.c

index dc345e2d359eff2adf8b2aa9f619421fdae780e5..96986814839ab01a9e6155c77ca7668dda563acd 100644 (file)
@@ -171,6 +171,7 @@ int tx_wds_start_network(struct modem *modem, struct qmi_service *wds, request_c
        struct qmi_wds_start_network_request start_req = {};
        qmi_set(&start_req, profile_index_3gpp, profile_idx);
        qmi_set(&start_req, ip_family_preference, ip_family);
+       qmi_set(&start_req, enable_autoconnect, false);
 
        int ret = qmi_set_wds_start_network_request(msg, &start_req);
        if (ret) {