USB: usbtmc: fix stupid bug in open()
commit 5b10916e upstream. 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> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Loading
Please sign in to comment