[Core/Handler] Remove assert in getDeviceStatus ()
authorWook Song <wook16.song@samsung.com>
Mon, 10 Aug 2020 06:39:39 +0000 (15:39 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Tue, 11 Aug 2020 05:44:10 +0000 (14:44 +0900)
commitcc4fcac219ff571dc3339ab75a2f6d9d56d80f92
tree4ab61201d7886155f44899219911e71f8a371b9a
parent8921dabe09d975cbc24e5bdd84a7f421e1ba962f
[Core/Handler] Remove assert in getDeviceStatus ()

This patch removes assert in getDeviceStatus () and then make it returns
a negative errono when api is NULL.

Signed-off-by: Wook Song <wook16.song@samsung.com>
src/core/ne-handler.cc