#define syslog __connman_log_s
static FILE *log_file = NULL;
+void __connman_log_s(int log_priority, const char *format, ...);
void __connman_log_open(const char *ident, int option, int facility)
{
dbus_message_iter_recurse(&entry, &value2);
type = dbus_message_iter_get_arg_type(&value2);
if (g_str_equal(key, "SSID")) {
- if (type != DBUS_TYPE_STRING)
+ if (type != DBUS_TYPE_STRING) {
+ g_slist_free_full(specific_scan_list, g_free);
return __connman_error_invalid_arguments(msg);
+ }
scan_type = 1; /* SSID based scan */
dbus_message_iter_get_basic(&value2, &name);