projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68d25b8
)
device: Set PENDING_DISABLE on device disable
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 2 Sep 2011 10:34:57 +0000
(13:34 +0300)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 12 Sep 2011 09:40:49 +0000
(11:40 +0200)
Set powered pending state to PENDING_DISABLE when the device is
being disabled.
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
d8ab1fc
..
ec60449
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-294,6
+294,7
@@
int __connman_device_disable(struct connman_device *device)
if (device->powered_pending == PENDING_NONE && device->powered == FALSE)
return -EALREADY;
+ device->powered_pending = PENDING_DISABLE;
device->reconnect = FALSE;
clear_scan_trigger(device);