From: Matti Laakso Date: Tue, 27 May 2014 19:12:12 +0000 (+0200) Subject: Fix autoconnect X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6e92c519f4276e883388f7831e1506905be0c511;p=oweals%2Fuqmi.git Fix autoconnect Signed-off-by: Matti Laakso --- diff --git a/commands-wds.c b/commands-wds.c index 58053c2..91cf15c 100644 --- a/commands-wds.c +++ b/commands-wds.c @@ -52,7 +52,7 @@ cmd_wds_set_password_prepare(struct qmi_dev *qmi, struct qmi_request *req, struc static enum qmi_cmd_result cmd_wds_set_autoconnect_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg *msg, char *arg) { - qmi_set_ptr(&wds_sn_req, enable_autoconnect, true); + qmi_set(&wds_sn_req, enable_autoconnect, true); return QMI_CMD_DONE; }