Re: [RFCv0 14/21] Bluetooth: Handle physical link completion
From: Andrei Emeltchenko <hidden> Date: 2012-08-16 07:23:06
Hi Mat,
On Wed, Aug 15, 2012 at 09:56:04AM -0700, Mat Martineau wrote:
...
quoted
I feel that this function is too big. Maybe we could split channel move
and channel create operations?
Sure, the "if (chan->state != BT_CONNECTED)" clause would be clearer
in a channel create function, and the other clauses can go in a
channel move function.
Maybe we could define new state BT_MOVING ?
Best regards
Andrei Emeltchenko