add print
authorChengyi Zhao <chengyix.zhao@intel.com>
Tue, 26 Jun 2012 09:44:53 +0000 (17:44 +0800)
committerChengyi Zhao <chengyix.zhao@intel.com>
Tue, 26 Jun 2012 09:44:53 +0000 (17:44 +0800)
plugins/wifi.c

index c303b6e..430f9f8 100644 (file)
@@ -608,6 +608,8 @@ static int wifi_enable(struct connman_device *device)
        ret = g_supplicant_interface_create(interface, driver, NULL,
                                                interface_create_callback,
                                                        wifi);
+        // added by chengyi.zhao
+       DBG("%s does not AP mode", device->network->wifi.mode);
        if (ret < 0)
                return ret;