If device is powered, set powered_pending from device_set_powered
authorYingan Deng <ying.an.deng@intel.com>
Thu, 5 Aug 2010 14:32:01 +0000 (16:32 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 6 Aug 2010 13:14:38 +0000 (15:14 +0200)
commitd676d2dcc2ab9062bf3c252b67c6e756248c83b9
tree4c074bbfc35afa1f3e44aa8ae64d62a11c22d949
parentd80bf74a55c020f13f668d47ade94a016eb371b6
If device is powered, set powered_pending from device_set_powered

If connman_device_set_powered() is called when the device is already
powered, powered_pending should be set to the same value.
src/device.c