summaryrefslogtreecommitdiff
path: root/src/rfid_layer2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rfid_layer2.c')
-rw-r--r--src/rfid_layer2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rfid_layer2.c b/src/rfid_layer2.c
index 7461d87..a6ee43f 100644
--- a/src/rfid_layer2.c
+++ b/src/rfid_layer2.c
@@ -132,3 +132,8 @@ rfid_layer2_setopt(struct rfid_layer2_handle *ph, int optname,
}
return 0;
}
+
+char *rfid_layer2_name(struct rfid_layer2_handle *l2h)
+{
+ return l2h->l2->name;
+}
personal git repositories of Harald Welte. Your mileage may vary