usb-linux: Ensure devep != 0
authorHans de Goede <hdegoede@redhat.com>
Tue, 31 May 2011 09:35:22 +0000 (11:35 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 14 Jun 2011 10:56:49 +0000 (12:56 +0200)
commitdbb75419599515f5b27f99f887160ae6bfadad08
treef73d8f41f5a574ee17d607f74ac6114f7e33f90a
parent9de9f0d61b06a094f625c567ed0ef38e40d70cf5
usb-linux: Ensure devep != 0

So that we don't index endp_table with a negative index.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb-linux.c