Hi Johan, On Saturday 14 of February 2015 16:43:50 Johan Hedberg wrote: > 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 They should. I'll send V3 of this patch shortly. -- BR Szymon Janc -- 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