Skip to content
Commit f51c23ba authored by Anderson Lizardo's avatar Anderson Lizardo Committed by David Vrabel
Browse files

wusb: fix error path for wusb_set_dev_addr()



Error path for wusb_set_dev_addr() was handled incorrectly. Fix it by
considering error only when return value is negative.

Signed-off-by: default avatarAnderson Lizardo <anderson.lizardo@indt.org.br>
Signed-off-by: default avatarDavid Vrabel <david.vrabel@csr.com>
parent d09318b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment