service: Update notifier state when relevant while getting ready
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Tue, 15 Jan 2013 08:20:44 +0000 (10:20 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 15 Jan 2013 14:51:42 +0000 (16:51 +0200)
commitdcffc2181c068f271401cc7d443d81e5be467238
tree8eef698d99d4f32e169cfb227e0759045bd753bb
parent0ac965a7e350612a90d1a31cc03394b7c0a73111
service: Update notifier state when relevant while getting ready

When getting 1 service to online, and disonnecting it: Manager state
stays at 'ready'. This is due to service updating the notifier about
its state 'ready' 2 times. Once when connecting: idle -> ready, and
once when disconnecting: online -> ready.
src/service.c