• Andre Eisenbach's avatar
    LE: UPF 45 bug fixes · 6975b4d7
    Andre Eisenbach authored
    This change fixes the following issues:
    - Second GATT-over-BR/EDR channel cannot be established when there
      already is an existing GATT-over-BR/EDR channel
    - If encryption fails for an LE connection due to a missing key,
      the security state is not being cleared and blocks all further
      security processing
    - When DM discovery of an LE Peripheral device fails with a
      connection timeout, no further discovery requests can be made
    - GATT service discovery can get into endless loop when duplicate descriptor
      definitions are found on the remote device
    - When GATT over BR/EDR fails, BTA does not give a connection
      callback to the application initiating the connection
    - BR/EDR connection to remote platform does not generate API callbacks
    - Stack crash discovered during UPF after remote disconnects
    - The host is sending HCI disconnect to invalid HCI handle when
      SMP fails because of a connection timeout
    - Possible race condition:
      If a disconnect is immediately followed by a connection complete,
      the connection complete cannot be processed in the BTA GATT state
      machine
    - Write Complete event is not triggered for Prepare Write requests
    
    Change-Id: I539cdedd68007818ff4f0d0213cee1c913f72d0f
    
    Conflicts:
    	bta/gatt/bta_gatts_act.c
    6975b4d7
bta_gattc_int.h 18.8 KB