diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2010-11-29 17:43:28 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-11-29 17:43:28 +0100 |
commit | 84af388dd11ae917a40aca48f2156306be4821ec (patch) | |
tree | 23f6e22ee3b1ca7a7fea67c7d92c42a7fef82130 /src/device.c | |
parent | 6d3811f1bd54475c0f14e05c48775c7387cded63 (diff) | |
download | connman-84af388dd11ae917a40aca48f2156306be4821ec.tar.gz connman-84af388dd11ae917a40aca48f2156306be4821ec.tar.bz2 connman-84af388dd11ae917a40aca48f2156306be4821ec.zip |
device: Support already powered up devices
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c index 91806b74..7f2b54fd 100644 --- a/src/device.c +++ b/src/device.c @@ -632,7 +632,7 @@ int connman_device_set_powered(struct connman_device *device, else err = __connman_device_disable(device); - if (err < 0 && err != -EINPROGRESS) + if (err < 0 && err != -EINPROGRESS && err != -EALREADY) return err; device->powered = powered; |