Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 78148af2 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

btm: set link policy only for BR/EDR cases

This fix not necessery HCI command call on the LE connection:

> HCI Event: LE Meta Event (0x3e) plen 31               #244 [hci1] 1150.850737
      LE Enhanced Connection Complete (0x0a)
        Status: Success (0x00)
        Handle: 64
        Role: Master (0x00)
        Peer address type: Random (0x01)
        Peer address: xx:xx:xx:xx:xx:xx (Static)
        Local resolvable private address: yy:yy:yy:yy:yy:yy (Resolvable)
        Peer resolvable private address: 00:00:00:00:00:00 (Non-Resolvable)
        Connection interval: 48.75 msec (0x0027)
        Connection latency: 0 (0x0000)
        Supervision timeout: 5000 msec (0x01f4)
        Master clock accuracy: 0x00
         Device connected
        xx-xx-xx-xx-xx-xx
<snip>
< HCI Command: Write Link Polic.. (0x02|0x000d) plen 4  #249 [hci1] 1150.892342
        Handle: 64
        Link policy: 0x0005
          Enable Role Switch
          Enable Sniff Mode
> HCI Event: Command Complete (0x0e) plen 6             #250 [hci1] 1150.898794
      Write Link Policy Settings (0x02|0x000d) ncmd 1
        Status: Unknown Connection Identifier (0x02)
        Handle: 64

sponsor: jpawlowski@
test: manual

Change-Id: Iff42492d489bbe3b0cf8b898b7f8fbebb37e3c36
parent e825f809
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment