summaryrefslogtreecommitdiff
path: root/gsupplicant
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-05-15 07:59:45 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-05-15 12:52:40 (GMT)
commitbc3a689afbd58bd6072fb77769ca4b021214662f (patch)
tree4746e028ad5c9ebaf005ee26142db530c635c6d8 /gsupplicant
parent7bf3a73557517338bb0f4c1bb26f85695d7f75e6 (diff)
downloadconnman-bc3a689afbd58bd6072fb77769ca4b021214662f.zip
connman-bc3a689afbd58bd6072fb77769ca4b021214662f.tar.gz
connman-bc3a689afbd58bd6072fb77769ca4b021214662f.tar.bz2
gsupplicant: Avoid critical errors
wpa_supplicant sends error if wlan interface cannot be created. Do not treat this error as critical because after calling g_critical() the program logging will be disabled.
Diffstat (limited to 'gsupplicant')
-rw-r--r--gsupplicant/supplicant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index a1891f0..829ceb7 100644
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -2379,7 +2379,7 @@ static void interface_create_result(const char *error,
SUPPLICANT_DBG("");
if (error != NULL) {
- g_critical("error %s", error);
+ g_warning("error %s", error);
err = -EIO;
goto done;
}