summaryrefslogtreecommitdiffstats
path: root/hcid/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/parser.y')
-rw-r--r--hcid/parser.y6
1 files changed, 5 insertions, 1 deletions
diff --git a/hcid/parser.y b/hcid/parser.y
index 136a8571..3534fb2b 100644
--- a/hcid/parser.y
+++ b/hcid/parser.y
@@ -64,7 +64,7 @@ int yyerror(char *s);
%token K_OPTIONS K_DEVICE
%token K_AUTOINIT K_SECURITY K_PAIRING
-%token K_PTYPE K_NAME K_CLASS K_LM K_LP K_AUTH K_ENCRYPT K_ISCAN K_PSCAN
+%token K_PTYPE K_NAME K_CLASS K_INQMODE K_LM K_LP K_AUTH K_ENCRYPT K_ISCAN K_PSCAN
%token K_PINHELP K_DBUSPINHELP
%token K_YES K_NO
@@ -190,6 +190,10 @@ device_opt:
parser_device->class = $2;
}
+ | K_INQMODE NUM {
+ parser_device->inqmode = $2;
+ }
+
| K_AUTH bool {
parser_device->auth = $2;
}