Return-Path: From: "Li, Nami" To: Luiz Augusto von Dentz CC: "linux-bluetooth@vger.kernel.org" Subject: RE: [PATCH obexd] Return correct obex service driver in obex_session_start Date: Thu, 30 Jun 2011 10:01:48 +0000 Message-ID: References: <1309419294-9903-1-git-send-email-nami.li@atheros.com> In-Reply-To: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: SGksIEx1aXoNCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IEx1aXogQXVndXN0 byB2b24gRGVudHogW21haWx0bzpsdWl6LmRlbnR6QGdtYWlsLmNvbV0gDQpTZW50OiAyMDEx5bm0 NuaciDMw5pelIDE2OjI1DQpUbzogTGksIE5hbWkNCkNjOiBsaW51eC1ibHVldG9vdGhAdmdlci5r ZXJuZWwub3JnOyBMaSwgTmFtaQ0KU3ViamVjdDogUmU6IFtQQVRDSCBvYmV4ZF0gUmV0dXJuIGNv cnJlY3Qgb2JleCBzZXJ2aWNlIGRyaXZlciBpbiBvYmV4X3Nlc3Npb25fc3RhcnQNCg0KSGksDQoN Ck9uIFRodSwgSnVuIDMwLCAyMDExIGF0IDEwOjM0IEFNLCBIdWkgTGkgPG5hbWkubGlAYXRoZXJv cy5jb20+IHdyb3RlOg0KPiBGcm9tOiBIdWkgTGkgPG5hbWlAcWNhLnF1YWxjb21tLmNvbT4NCj4N Cj4gwqBUaGUgb3JpZ2luYWwgcmV0dXJuIHZhbHVlIGlzIE5VTEwuDQo+IC0tLQ0KPiDCoHNyYy9v YmV4LmMgfCDCoCDCoDMgKy0tDQo+IMKgMSBmaWxlcyBjaGFuZ2VkLCAxIGluc2VydGlvbnMoKyks IDIgZGVsZXRpb25zKC0pDQo+DQo+IGRpZmYgLS1naXQgYS9zcmMvb2JleC5jIGIvc3JjL29iZXgu Yw0KPiBpbmRleCA0OWQ5YzE4Li45Nzg4OTRlIDEwMDY0NA0KPiAtLS0gYS9zcmMvb2JleC5jDQ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