]> git.itanic.dy.fi Git - glucose/commit
hiddev: Fix bug when matching incorrect device IDs
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Fri, 29 Apr 2011 20:30:10 +0000 (23:30 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Fri, 29 Apr 2011 20:30:10 +0000 (23:30 +0300)
commitb8b805a550e6bf5b0abf8e77d02283fa02b5a754
tree421702a60af38681e61297b96ff3ccd750f8e00b
parenta45e82019437671307cd2220a7f0c4c407efd2ad
hiddev: Fix bug when matching incorrect device IDs

If device IDs don't match, we must return negative error code in order
to let the caller know about the error.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
hiddev.c