Re: [RFC] Behaviour when LTK is generated as a slave

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vishal,

On 11:08 Thu 07 Jun, vishal agarwal wrote:
> Hi Vinicius,
> 
> In file mgmtops.c in function mgmt_new_ltk, function bonding_complete
> is called only if ev->key.master is true.
> It means that as a slave when LTK is generated bonding_complete
> function will not be called. Is it intended? If so please help me in
> understanding this behaviour.

Yes, it is intended. The purpose of that "master" field is to inform the
"direction" of the key.

For now, that we can only assume the Master role of LE connections, that check
may be kept simple as that. When we are able to support LE single mode
adapters (I don't know if it makes sense) that check may need some 
re-thinking.

> 
> Thanks
> Vishal


Cheers,
-- 
Vinicius
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux