summaryrefslogtreecommitdiffstats
path: root/hcid/kword.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/kword.c')
-rw-r--r--hcid/kword.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/hcid/kword.c b/hcid/kword.c
index e96cad20..018caa72 100644
--- a/hcid/kword.c
+++ b/hcid/kword.c
@@ -48,6 +48,7 @@ struct kword cfg_keyword[] = {
{ "autoinit", K_AUTOINIT },
{ "security", K_SECURITY },
{ "pairing", K_PAIRING },
+ { "offmode", K_OFFMODE },
{ "pkt_type", K_PTYPE },
{ "lm", K_LM },
{ "lp", K_LP },
@@ -81,6 +82,12 @@ struct kword pair_param[] = {
{ NULL , 0 }
};
+struct kword off_param[] = {
+ { "devdown", HCID_OFFMODE_DEVDOWN },
+ { "noscan", HCID_OFFMODE_NOSCAN },
+ { NULL , 0 }
+};
+
int lineno;
int find_keyword(struct kword *kw, char *str)