projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2a1f32
)
wifi: Don't print an error when the wifi interface has been removed
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 15 Jun 2012 11:13:43 +0000
(14:13 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Mon, 18 Jun 2012 07:58:21 +0000
(10:58 +0300)
If the wifi data structure is NULL, it was already removed due to
a call to wifi_remove() and is thus not an error condition.
plugins/wifi.c
patch
|
blob
|
history
diff --git
a/plugins/wifi.c
b/plugins/wifi.c
index
0b69471
..
05b8f5b
100644
(file)
--- a/
plugins/wifi.c
+++ b/
plugins/wifi.c
@@
-1465,7
+1465,7
@@
static void interface_removed(GSupplicantInterface *interface)
return;
if (wifi == NULL || wifi->device == NULL) {
-
connman_error("Wrong wifi pointer
");
+
DBG("wifi interface already removed
");
return;
}