aboutsummaryrefslogtreecommitdiffstats
path: root/ccid/ccid_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'ccid/ccid_device.h')
-rw-r--r--ccid/ccid_device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ccid/ccid_device.h b/ccid/ccid_device.h
index bc69523..d0fcdc0 100644
--- a/ccid/ccid_device.h
+++ b/ccid/ccid_device.h
@@ -59,6 +59,9 @@ struct ccid_slot {
/* CCID operations */
struct ccid_ops {
+ /* msgb ownership in below functions is transferred, i.e. whoever
+ * provides the callback function must make sure to msgb_free() them
+ * once transmission on IN or INT EP has completed. */
int (*send_in)(struct ccid_instance *ci, struct msgb *msg);
int (*send_int)(struct ccid_instance *ci, struct msgb *msg);
};