discover: fix return value for discover_device_get_param
authorJeremy Kerr <jk@ozlabs.org>
Thu, 6 Mar 2014 10:14:00 +0000 (18:14 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 6 Mar 2014 10:14:00 +0000 (18:14 +0800)
commitf7ace4cc96390a26b0f6c5ee4ff8fe6d7d62ecd0
treec49f821d9c9b060bc76cb09ccb88f7ae8076056d
parent8d5aaf9a13595b1c36cc3fd04010e4b38cc38afb
discover: fix return value for discover_device_get_param

We're incorrectly returning the name, we need the value.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/device-handler.c