bugfix was comparing DeviceId with Device

Change-Id: I5b138b64c4e7b2e0e217218c225b59bc3e63337f
1 file changed