[PATCH] keytable: Fix copy and paste error for SANYO IR protocol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Gregor Jasny <gjasny@xxxxxxxxxxxxxx>
---
 utils/keytable/keytable.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/utils/keytable/keytable.c b/utils/keytable/keytable.c
index 93609d2..f03de26 100644
--- a/utils/keytable/keytable.c
+++ b/utils/keytable/keytable.c
@@ -226,7 +226,7 @@ static error_t parse_keyfile(char *fname, char **table)
 						else if (!strcasecmp(p,"sony"))
 							ch_proto |= SONY;
 						else if (!strcasecmp(p,"sanyo"))
-							ch_proto |= SONY;
+							ch_proto |= SANYO;
 						else if (!strcasecmp(p,"other") || !strcasecmp(p,"unknown"))
 							ch_proto |= OTHER;
 						else {
-- 
1.7.8.3

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux