Enable/Disable device when toggling the powered state
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 24 Mar 2010 12:04:54 +0000 (13:04 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 24 Mar 2010 14:10:44 +0000 (15:10 +0100)
commit495e4684729e7dd35b92524246d155b5f852cffe
tree6678b1aae85f15d411a71f416f4d3a4a2ba8732a
parenta290d8f1d8363602db37271d9802571cbab9cbe0
Enable/Disable device when toggling the powered state

When devices are brought up and down externally (e.g. with ifconfig),
connman_device_set_powered() needs to enable or disable them. If it doesnt,
the device associated networks are kept alive and we're still showing them
while the device is actually down.
src/device.c