hciattach: make set_speed return error if any operation fails

This patch lets set_speed function changing UART baud rate to return an
error code if any one operation fails instead of returning only the last
operation's status.
1 file changed