commit | 5b10916ea0a62920204517e1c4ce14560b4f96ab | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@suse.de> | Tue Mar 10 20:42:55 2009 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Mar 17 14:01:28 2009 -0700 |
tree | c119039aa73e1b47e07b1857d6cfa2efc11adad6 | |
parent | ee568b25ee9e160b32d1aef73d8b2ee9c05d34db [diff] |
USB: usbtmc: fix stupid bug in open() open() will never succeed, as we always return -ENODEV. Fix this obvious bug. Thanks to Jouni Ryno for reporting it. Reported-by: Jouni Ryno <Jouni.Ryno@fmi.fi> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>