aboutsummaryrefslogtreecommitdiffstats
path: root/ccid/ccid_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'ccid/ccid_device.c')
-rw-r--r--ccid/ccid_device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ccid/ccid_device.c b/ccid/ccid_device.c
index ffcbacc..f91abb8 100644
--- a/ccid/ccid_device.c
+++ b/ccid/ccid_device.c
@@ -617,7 +617,9 @@ static int ccid_handle_set_rate_and_clock(struct ccid_slot *cs, struct msgb *msg
/*! Handle data arriving from the host on the OUT endpoint.
* \param[in] cs CCID Instance on which to operate
- * \param[in] msgb received message buffer containing one CCID OUT EP message from the host
+ * \param[in] msgb received message buffer containing one CCID OUT EP message from the host.
+ * Ownership of message buffer is transferred, i.e. it's our job to msgb_free()
+ * it eventually, after we're done with it (could be asynchronously).
* \returns 0 on success; negative on error */
int ccid_handle_out(struct ccid_instance *ci, struct msgb *msg)
{