summaryrefslogtreecommitdiffstats
path: root/hcid/kword.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/kword.c')
-rw-r--r--hcid/kword.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hcid/kword.c b/hcid/kword.c
index cc69db39..0486f21b 100644
--- a/hcid/kword.c
+++ b/hcid/kword.c
@@ -37,6 +37,7 @@ struct kword cfg_keyword[] = {
{ "device", K_DEVICE },
{ "autoinit", K_AUTOINIT },
{ "security", K_SECURITY },
+ { "pairing", K_PAIRING },
{ "pkt_type", K_PTYPE },
{ "lm", K_LM },
{ "lp", K_LP },
@@ -62,6 +63,13 @@ struct kword sec_param[] = {
{ NULL , 0 }
};
+struct kword pair_param[] = {
+ { "none", HCID_PAIRING_NONE },
+ { "multi", HCID_PAIRING_MULTI },
+ { "once", HCID_PAIRING_ONCE },
+ { NULL , 0 }
+};
+
int lineno;
int find_keyword(struct kword *kw, char *str)