Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(800)

Unified Diff: files/src/device.c

Issue 992006: Changed DisableTechnology to do a full device disable. (Closed)
Patch Set: Use set_carrier, not set_powered, and move to device_disable. Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: files/src/device.c
diff --git a/files/src/device.c b/files/src/device.c
index 46704400c9a4ef41cbc32bedb10fbc7717e2f979..7948e7501b33aa343fbb90fd266e13d0d6696cdc 100644
--- a/files/src/device.c
+++ b/files/src/device.c
@@ -1267,6 +1267,7 @@ int __connman_device_disable(struct connman_device *device)
clear_scan_trigger(device);
g_hash_table_remove_all(device->networks);
+ set_carrier(device, FALSE);
err = device->driver->disable(device);
if (err < 0)
return err;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698