commit | 573c1f777ef976c9aa10a0935696fce58193328c | [log] [tgz] |
---|---|---|
author | Michael Scott <michael@opensourcefoundries.com> | Mon May 07 14:18:37 2018 -0700 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Fri May 11 16:38:49 2018 +0300 |
tree | bb51af59afabeae3ba994508c01631fe06a39dcf | |
parent | bc7a5d3a6c7b4592c97e21a9191cb4d089330911 [diff] |
net: lwm2m: improve return errors from update_attrs() When any error is returned from update_attrs() in engine_add_observer() an EINVAL is returned back to the caller. Let's return whatever error code was generated in update_attrs() instead. Also, add handling where previously errors were ignored. Signed-off-by: Michael Scott <michael@opensourcefoundries.com>