Fix device creation error response when powered off

When the adapter is powered off the Create*Device methods should fail
early instead of attempting to create a connection in vain.
1 file changed