Return-Path: Subject: Re: BCM43430 BT driver almost working... To: Marcel Holtmann Cc: Loic Poulain , linux-bluetooth@vger.kernel.org References: <4078da55-c5d8-7c2d-d954-9da790982b22@mnementh.co.uk> <5efb7448-9208-f6e3-0c87-6b077a439b5c@mnementh.co.uk> From: Ian Molton Message-ID: <97334cc5-c57e-376a-7ca7-b54f05f92e57@mnementh.co.uk> Date: Fri, 30 Jun 2017 22:37:00 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 List-ID: On 30/06/17 22:27, Marcel Holtmann wrote: > Hi Ian, > > don’t try to overthink this. The code is already abstracted and > optimized. Add the serdev support to hci_bcm.c and do not try to mess > with the hci_nokia.c. That one is a total different driver and it is > special in its own way. It doesnt *look* terribly special - there are a few extra entries in nokia_recv_pkts[] along with their helper functions - but its otherwise very similar indeed... I'm happy to add the code to hci_bcm, but it looks like theres a fair bit of code duplication across at least these two drivers... -Ian