Fixed broken platform and device discovery
authorOmkar Hegde <omkar.m.hegde@intel.com>
Wed, 15 Jul 2015 23:54:56 +0000 (16:54 -0700)
committerErich Keane <erich.keane@intel.com>
Thu, 16 Jul 2015 01:36:16 +0000 (01:36 +0000)
commit9746d4849a7172b701a037dea12207be60bd9a02
treeb8cbb628f122391c3be3124dcc2cff6e3c3f859d
parente3adc7849245f6e061ecdc9b612db781648dec7a
Fixed broken platform and device discovery

The stack result was not being set on forming
the payload. Also, the device payload was being set
into the incorrect variable.

Change-Id: I18875b9ba0bd9776f0914317617c3c5d66ed64f8
Signed-off-by: Omkar Hegde <omkar.m.hegde@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1681
Reviewed-by: Erich Keane <erich.keane@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
resource/csdk/stack/src/ocresource.c