Disable offline devices upon device_set_connected(TRUE) calls
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 5 Aug 2010 14:38:12 +0000 (16:38 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 6 Aug 2010 13:14:45 +0000 (15:14 +0200)
commit43e7b0260857b48f19aa4165699453dd6608bb3b
treed2343aec3980db770c2c12505d4aea6eb5707581
parentd676d2dcc2ab9062bf3c252b67c6e756248c83b9
Disable offline devices upon device_set_connected(TRUE) calls

Some devices are powered up asynchronously, and one can potentially
enable offline mode while the device is not powered up yet. The
device thus needs to be turned back off when it's finally reported
to be on.
src/device.c