- if (__uqmi_run_commands(qmi, true))
- __uqmi_run_commands(qmi, false);
+ blobmsg_add_string(&status, NULL, msg);
+ return QMI_CMD_EXIT;
+}
+
+bool uqmi_run_commands(struct qmi_dev *qmi)
+{
+ bool ret;
+
+ ret = __uqmi_run_commands(qmi, true) &&
+ __uqmi_run_commands(qmi, false);
+