bonding: fix device initialisation error handling