core: Fix Device.Connect(Profile) error return
1 file changed