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:
fd0bc5c
)
network: Unset driver on failed match
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Tue, 29 Jan 2013 09:43:00 +0000
(11:43 +0200)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Wed, 30 Jan 2013 08:26:56 +0000
(10:26 +0200)
src/network.c
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index
bef6e0d
..
0d95af8
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-762,8
+762,10
@@
static int network_probe(struct connman_network *network)
for (list = driver_list; list; list = list->next) {
driver = list->data;
- if (match_driver(network, driver) == FALSE)
+ if (match_driver(network, driver) == FALSE) {
+ driver = NULL;
continue;
+ }
DBG("driver %p name %s", driver, driver->name);