提交 ecf6e72d 编写于 作者: M Mauro Carvalho Chehab

V4L/DVB: ir-core: be less pedantic with RC protocol name

Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 ed3de601
......@@ -93,7 +93,7 @@ static ssize_t store_protocol(struct device *d,
buf = strsep((char **) &data, "\n");
if (!strcasecmp(buf, "rc-5"))
if (!strcasecmp(buf, "rc-5") || !strcasecmp(buf, "rc5"))
ir_type = IR_TYPE_RC5;
else if (!strcasecmp(buf, "pd"))
ir_type = IR_TYPE_PD;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册