1. 24 10月, 2012 2 次提交
  2. 11 10月, 2012 2 次提交
  3. 28 9月, 2012 9 次提交
  4. 19 9月, 2012 1 次提交
  5. 22 8月, 2012 2 次提交
  6. 07 8月, 2012 19 次提交
  7. 11 7月, 2012 1 次提交
  8. 09 6月, 2012 1 次提交
  9. 05 6月, 2012 3 次提交
    • A
      Bluetooth: Fix not removing hci_conn for failed LE connection · 4f72b329
      Andrzej Kaczmarek 提交于
      This patch changes way LE Connection Complete event with error status are
      handled. BDADDR returned in such event packet do not need to be valid and
      should not be used to search for existing hci_conn. Instead, any hci_conn
      with BT_CONNECT state should be matched since there can be only one
      pending LE outgoing connection at any time.
      
      If not handled properly, appriopriate hci_conn will not be removed and
      subsequent connection to given peer will try to reuse it without making
      actual connection attempt.
      
      2012-05-07 11:21:39.133378 < HCI Command: LE Create Connection (0x08|0x000d) plen 25
          bdaddr 00:22:D0:10:13:EE type 1
      2012-05-07 11:21:39.138774 > HCI Event: Command Status (0x0f) plen 4
          LE Create Connection (0x08|0x000d) status 0x00 ncmd 1
      2012-05-07 11:21:44.752854 < HCI Command: LE Create Connection Cancel (0x08|0x000e) plen 0
      2012-05-07 11:21:44.759475 > HCI Event: Command Complete (0x0e) plen 4
          LE Create Connection Cancel (0x08|0x000e) ncmd 1
      2012-05-07 11:21:44.764479 > HCI Event: LE Meta Event (0x3e) plen 19
          LE Connection Complete
            status 0x02 handle 0, role master
            bdaddr 00:00:00:00:00:00 (Public)
      
      [14898.739425] [6603] hci_connect: hci0 dst 00:22:D0:10:13:EE
      [14898.739429] [6603] hci_conn_add: hci0 dst 00:22:D0:10:13:EE
      [14898.739434] [6603] hci_conn_init_sysfs: conn ffff880079f03000
      [14898.739440] [6603] hci_send_cmd: hci0 opcode 0x200d plen 25
      [14898.739443] [6603] hci_send_cmd: skb len 28
      [14898.739487] [6603] hci_chan_create: hci0 conn ffff880079f03000
      ...
      [14938.860231] [55] hci_send_cmd: hci0 opcode 0x200e plen 0
      ...
      [14938.876427] [55] hci_le_conn_complete_evt: hci0 status 2
      [14938.876433] [55] hci_conn_add: hci0 dst 00:00:00:00:00:00
      [14938.876439] [55] hci_conn_init_sysfs: conn ffff88007aeff800
      [14938.876454] [55] hci_send_to_control: len 14
      [14938.876470] [55] l2cap_connect_cfm: hcon ffff88007aeff800 bdaddr 00:00:00:00:00:00 status 2
      [14938.876474] [55] hci_conn_del: hci0 conn ffff88007aeff800 handle 0
      Signed-off-by: NAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
      Acked-by: NAndre Guedes <andre.guedes@openbossa.org>
      Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
      4f72b329
    • A
    • G
      Bluetooth: Use lmp_ssp_capable() macro · 6d3c730f
      Gustavo Padovan 提交于
      Make the check more user friendly.
      Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      6d3c730f
新手
引导
客服 返回
顶部