diff options
Diffstat (limited to 'drivers/media/rc/rc-main.c')
-rw-r--r-- | drivers/media/rc/rc-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index 72be8a02118c..e5b29a4c691e 100644 --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c | |||
@@ -844,7 +844,7 @@ static ssize_t store_protocols(struct device *device, | |||
844 | count++; | 844 | count++; |
845 | } else { | 845 | } else { |
846 | for (i = 0; i < ARRAY_SIZE(proto_names); i++) { | 846 | for (i = 0; i < ARRAY_SIZE(proto_names); i++) { |
847 | if (!strncasecmp(tmp, proto_names[i].name, strlen(proto_names[i].name))) { | 847 | if (!strcasecmp(tmp, proto_names[i].name)) { |
848 | tmp += strlen(proto_names[i].name); | 848 | tmp += strlen(proto_names[i].name); |
849 | mask = proto_names[i].type; | 849 | mask = proto_names[i].type; |
850 | break; | 850 | break; |