ソースを参照

dev.c: add comment to qmi_request_wait()

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Alexander Couzens 1 年間 前
コミット
8ff632a048
1 ファイル変更6 行追加0 行削除
  1. 6 0
      dev.c

+ 6 - 0
dev.c

@@ -249,6 +249,12 @@ void qmi_request_cancel(struct qmi_dev *qmi, struct qmi_request *req)
 	__qmi_request_complete(qmi, req, NULL);
 }
 
+/*! Run uloop until the request has been completed
+ *
+ * \param qmi the qmi device
+ * \param req the request to wait for
+ * \return req->ret (0 on success)
+ */
 int qmi_request_wait(struct qmi_dev *qmi, struct qmi_request *req)
 {
 	bool complete = false;