Re: [RFC 3/8] Bluetooth: Add l2cap_chan->ops->ready()

Andrei Emeltchenko
2012-05-24T11:30:20Z

Hi Ulisses,

On Thu, May 24, 2012 at 08:17:23AM -0300, Ulisses Furquim wrote:
> >> > +   void                    (*ready) (void *data);
> >>
> >> Again, why void *data ?
> >
> > I mean here that for fixed channels we do not need this function at this
> > point since initialization is different.
>
> So? What do you mean? This needs to be generic, I think. It's an
> abstraction after all.

Fixed channels do not have configuration phase, they are created
CONNECTED (at least A2MP).

Best regards
Andrei Emeltchenko