From: Felix Fietkau Date: Fri, 4 Nov 2016 14:46:06 +0000 (+0100) Subject: uim: add missing extra data for UIM PIN verify request X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=42ea0ad6a01762e003a9c80c6cbf92849616c1b9;p=oweals%2Fuqmi.git uim: add missing extra data for UIM PIN verify request Signed-off-by: Felix Fietkau --- diff --git a/commands-uim.c b/commands-uim.c index 4c0287e..859da68 100644 --- a/commands-uim.c +++ b/commands-uim.c @@ -24,6 +24,10 @@ static enum qmi_cmd_result cmd_uim_verify_pin1_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg *msg, char *arg) { struct qmi_uim_verify_pin_request data = { + QMI_INIT_SEQUENCE(session_information, + .session_type = QMI_UIM_SESSION_TYPE_CARD_SLOT_1, + "" + ), QMI_INIT_SEQUENCE(info, .pin_id = QMI_UIM_PIN_ID_PIN1, .pin_value = arg @@ -38,6 +42,10 @@ static enum qmi_cmd_result cmd_uim_verify_pin2_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg *msg, char *arg) { struct qmi_uim_verify_pin_request data = { + QMI_INIT_SEQUENCE(session_information, + .session_type = QMI_UIM_SESSION_TYPE_CARD_SLOT_1, + "" + ), QMI_INIT_SEQUENCE(info, .pin_id = QMI_UIM_PIN_ID_PIN2, .pin_value = arg