From: hyunuktak Date: Wed, 15 Jun 2016 05:45:10 +0000 (+0900) Subject: Fix the crash daemon for mac address X-Git-Tag: submit/tizen/20160615.070331^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F74646%2F1;p=platform%2Fcore%2Fconnectivity%2Fnet-config.git Fix the crash daemon for mac address Change-Id: I3c68d0f9f645c0d9f45d438525aac9d460de4783 Signed-off-by: hyunuktak --- diff --git a/src/wifi.c b/src/wifi.c index f0eeac9..bf1f836 100755 --- a/src/wifi.c +++ b/src/wifi.c @@ -67,7 +67,7 @@ static void _set_wifi_mac_address(void) gchar *mac_addr = NULL; mac_addr = vconf_get_str(VCONFKEY_WIFI_BSSID_ADDRESS); - if (mac_addr == NULL) { + if (mac_addr != NULL) { if (strlen(mac_addr) == 0) netconfig_set_mac_address_from_file(); g_free(mac_addr);