device: Return success if scan succeeded for at least one device
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 1 Feb 2012 14:43:55 +0000 (16:43 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 4 Feb 2012 00:15:35 +0000 (01:15 +0100)
commit1c5a44950001604b346480d3dfc2a6c0596a5146
tree4a8761daa9de2d5bb2ad80dafbbd57a434fcfb59
parent9117fc54fe370eac7f575f0fee44e469ad897a44
device: Return success if scan succeeded for at least one device

Return success on requesting device scan if at least one of the
devices reported success. If scanning was unsuccessful for all
devices, return the error from the last one.
src/device.c