pmqos: Fix bug of 'support' property of pass-pmqos.conf 75/133475/1
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 12 Jun 2017 10:28:43 +0000 (19:28 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 12 Jun 2017 10:42:03 +0000 (19:42 +0900)
commit2b3a2095f8a2f2b75915050ee7602f62475753db
treeb0885030ab633666025146bd5e20272232d519c7
parent1823eec981985bb3b6137104661609464d7d7b4e
pmqos: Fix bug of 'support' property of pass-pmqos.conf

This patch fixes the bug related to 'support' property of pass-pmqos.conf.

PASS PMQoS has the pass-pmqos.conf which contains the supported scenario
name and the number of supported scenarios. Each scenario has the 'support'
property indicating whether scenario is supported or not on platform.

If the 'support' property value is changed from 'yes' to 'no',
PASS shows the following error log during the init step.
[error log]
 edbus-handler.c: register_method(713) > fail to add method (null)!
 edbus-handler.c: register_edbus_method(862) > fail to register /Org/Tizen/System/Pass/Pmqos method(-22)
 pmqos.c: pmqos_init_done(395) > fail to init edbus method from conf(-22)

Change-Id: Icbb0d29c941345f21c3bcc4ae513ff73095a3aff
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/pmqos/pmqos.c