afm-udb: keep looking at valid units
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 10 Oct 2017 15:09:14 +0000 (17:09 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 24 Nov 2017 16:44:57 +0000 (17:44 +0100)
commit88c29cb013f933cdf9027226d599c706b26dcf3e
treedb7b2c708139aa8010988d4eadb85356b67ae825
parente1e93274a24cdd1aa3b8849fdff6385d5221137c
afm-udb: keep looking at valid units

Returning an error when a unit is not valid has
drawbacks. With this commit, bogus units are
ignored. The benefit is to be able of using valid
units instead of using none because in the previous
case, all the DB was cancelled.

Change-Id: Id1e4d6d5efd4af7e118b9d549238bd5e3d6c52d7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afm-udb.c