summaryrefslogtreecommitdiff
path: root/plugins/wifi.c
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2012-06-15 14:13:43 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-06-18 10:58:21 +0300
commit97e26337d02581aedfacf816f0b543e8bc3c68da (patch)
treec6b8ac0a20d9e889a1288223521be10af42da30c /plugins/wifi.c
parentf2a1f32186febe7a2b2f7ca41966fc21d032c76a (diff)
downloadconnman-97e26337d02581aedfacf816f0b543e8bc3c68da.tar.gz
connman-97e26337d02581aedfacf816f0b543e8bc3c68da.tar.bz2
connman-97e26337d02581aedfacf816f0b543e8bc3c68da.zip
wifi: Don't print an error when the wifi interface has been removed
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.
Diffstat (limited to 'plugins/wifi.c')
-rw-r--r--plugins/wifi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 0b694714..05b8f5bf 100644
--- 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;
}