diff options
Diffstat (limited to 'src/rfid_proto_tcl.c')
-rw-r--r-- | src/rfid_proto_tcl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rfid_proto_tcl.c b/src/rfid_proto_tcl.c index af626c6..70259e6 100644 --- a/src/rfid_proto_tcl.c +++ b/src/rfid_proto_tcl.c @@ -781,6 +781,8 @@ tcl_getopt(struct rfid_protocol_handle *h, int optname, void *optval, *optlen = sizeof(u_int8_t); *opt_str = h->priv.tcl.ats_len & 0xff; break; + default: + return -EINVAL; } return 0; |