Return-Path: From: "Ho, Albert O" To: Marcel Holtmann CC: linux-bluetooth , "Hedberg, Johan" , "tedd.hj.an@gmail.com" , "An, Tedd" Subject: RE: [RFC 1/2] Bluetooth: Add driver extension for vendor specific init Date: Thu, 25 Oct 2012 06:38:52 +0000 Message-ID: <95EBF2BD638BE24EB7C4104AF2911E3945F4D373@ORSMSX101.amr.corp.intel.com> References: <39660287.XHkFNqYcyS@tedd-ubuntu> <1349346013.27233.28.camel@aeonflux> <95EBF2BD638BE24EB7C4104AF2911E3945F4C895@ORSMSX101.amr.corp.intel.com> <1351091899.1785.69.camel@aeonflux> In-Reply-To: <1351091899.1785.69.camel@aeonflux> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 List-ID: QWNrbm93bGVkZ2VkLg0KDQpSZWdhcmRzLA0KQWxiZXJ0DQoNCg0KLS0tLS1PcmlnaW5hbCBNZXNz YWdlLS0tLS0NCkZyb206IE1hcmNlbCBIb2x0bWFubiBbbWFpbHRvOm1hcmNlbEBob2x0bWFubi5v cmddIA0KU2VudDogV2VkbmVzZGF5LCBPY3RvYmVyIDI0LCAyMDEyIDg6MTggQU0NClRvOiBIbywg QWxiZXJ0IE8NCkNjOiBsaW51eC1ibHVldG9vdGg7IEhlZGJlcmcsIEpvaGFuOyB0ZWRkLmhqLmFu QGdtYWlsLmNvbTsgQW4sIFRlZGQNClN1YmplY3Q6IFJlOiBbUkZDIDEvMl0gQmx1ZXRvb3RoOiBB ZGQgZHJpdmVyIGV4dGVuc2lvbiBmb3IgdmVuZG9yIHNwZWNpZmljIGluaXQNCg0KSGkgQWxiZXJ0 LA0KDQo+ID4gVGhpcyBwYXRjaCBwcm92aWRlcyBhbiBleHRlbnNpb24gb2YgYnR1c2IgdG8gc3Vw cG9ydCBkZXZpY2UgdmVuZG9yIA0KPiA+IGNhbiBpbXBsZW1lbnQgdGhlaXIgb3duIG1vZHVsZSB0 byBleGVjdXRlIHRoZSB2ZW5kb3Igc3BlY2lmaWMgZGV2aWNlIA0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