technology: Disable technology when the last device is unpowered
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 15 Jun 2012 11:13:47 +0000 (14:13 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 18 Jun 2012 07:59:20 +0000 (10:59 +0300)
commite28dffca0bf6a1d0dcc69e4abb52a22e0b0578be
tree73b2b43531f109b0ee99f39b6a8beaaf0db94680
parentfe83d954f0a1a80e9e48008e0465edaaf0cd65ea
technology: Disable technology when the last device is unpowered

Reply via D-Bus to the caller and send the technology 'Powered'
property set to FALSE only after the last device has been powered
off. Update code but not behavior in __connman_technology_enabled()
so that the logic looks the same as in
__connman_technology_disabled().
src/technology.c