xpp: mark an AB as failed if it gives bad desc
If we fail at handling the device descriptor from the Astribank, mark it as in state "failed". Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
This commit is contained in:
parent
7adc74512e
commit
f287c0af7f
@ -568,6 +568,7 @@ HANDLER_DEF(GLOBAL, AB_DESCRIPTION)
|
||||
}
|
||||
goto out;
|
||||
proto_err:
|
||||
xbus_setstate(xbus, XBUS_STATE_FAIL);
|
||||
dump_packet("AB_DESCRIPTION", pack, DBG_ANY);
|
||||
out:
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user