Re: [PATCH v7] Bluetooth: btwilink driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gustavo F. Padovan
Date: Tuesday, November 30, 2010 - 8:46 am

Hi Pavan,

* pavan_savoy@ti.com <pavan_savoy@ti.com> [2010-11-26 04:20:57 -0500]:


So as part of reviewing this I took a look at your underlying driver and
I didn't like what I saw there, you are handling Bluetooth stuff inside
the core driver and that is just wrong. You have a Bluetooth driver here
then you have to leave the Bluetooth data handling to the Bluetooth
driver and do not do that in the core. 

So I'm going to clear NACK this. Your TI ST driver architecture is
a mess, Ideally you should not have any #include <net/bluetoooth/...>
there. Implement a core driver that only gets the Shared Transport
data and pass it to the right driver without look into the data and
process it. Process the data is not the role of the core driver.

Please fix this and come back when you have a proper solution for your
driver.

-- 
Gustavo F. Padovan
http://profusion.mobi
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v7] Bluetooth: btwilink driver, pavan_savoy, (Fri Nov 26, 2:20 am)
Re: [PATCH v7] Bluetooth: btwilink driver, Pavan Savoy, (Tue Nov 30, 12:29 am)
Re: [PATCH v7] Bluetooth: btwilink driver, Gustavo F. Padovan, (Tue Nov 30, 8:46 am)
Re: [PATCH v7] Bluetooth: btwilink driver, Pavan Savoy, (Tue Nov 30, 9:00 am)
Re: [PATCH v7] Bluetooth: btwilink driver, Pavan Savoy, (Wed Dec 1, 5:48 pm)
Re: [PATCH v7] Bluetooth: btwilink driver, Gustavo F. Padovan, (Mon Dec 6, 2:23 pm)
Re: [PATCH v7] Bluetooth: btwilink driver, Vitaly Wool, (Mon Dec 6, 2:35 pm)
Re: [PATCH v7] Bluetooth: btwilink driver, Pavan Savoy, (Thu Dec 9, 12:47 am)
Re: [PATCH v7] Bluetooth: btwilink driver, Pavan Savoy, (Wed Dec 15, 11:09 pm)