Hi Szymon, On Sat, Feb 14, 2015, Szymon Janc wrote: > + str = g_key_file_get_string(config, "General", "MultiProfile", &err); > + if (err) { > + g_clear_error(&err); > + } else { > + DBG("MultiProfile=%s", str); > + > + if (strcmp(str, "mpsd")) { > + mps_mpsd = true; > + } else if (strcmp(str, "mpmd")) { > + mps_mpsd = true; > + mps_mpmd = true; > + } Shouldn't these be '!strcmp'? Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html