projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0064506
)
Fix wrong assignment of strength value
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 7 Jan 2009 16:31:48 +0000
(17:31 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 7 Jan 2009 16:31:48 +0000
(17:31 +0100)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
55e07f9
..
4575dd2
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-1009,7
+1009,7
@@
static void connect_known_network(struct connman_device *device)
}
old_strength = connman_network_get_uint8(network, "Strength");
-
old
_strength = connman_network_get_uint8(value, "Strength");
+
new
_strength = connman_network_get_uint8(value, "Strength");
if (new_strength > old_strength)
network = value;