[PATCH] USB: keyspan-remote bugfix

Signed-off-by: Michael Downey <downey@zymeta.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Michael Downey 2006-04-03 08:58:07 -06:00 committed by Greg Kroah-Hartman
parent 48b1be6ac0
commit 01e8950635

View File

@ -297,6 +297,8 @@ static void keyspan_check_data(struct usb_keyspan *remote, struct pt_regs *regs)
remote->data.bits_left -= 6;
} else {
err("%s - Error in message, invalid toggle.\n", __FUNCTION__);
remote->stage = 0;
return;
}
keyspan_load_tester(remote, 5);