device: Do not use the disconnected flag for auto connection