Hi Mat, On Thu, Sep 13, 2012 at 08:02:58AM -0700, Mat Martineau wrote: ... > >@@ -550,6 +558,10 @@ static struct amp_mgr *amp_mgr_create(struct l2cap_conn *conn) > > > > conn->hcon->amp_mgr = mgr; > > > >+ mutex_lock(&_mgr_list_lock); > >+ list_add(&mgr->list, &_mgr_list); > >+ mutex_unlock(&_mgr_list_lock); > >+ > > kref_init(&mgr->kref); > > Should the reference count be initialized before adding to the list? will change this. Best regards Andrei Emeltchenko -- 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