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