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

Commit b53a1fa0 authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Gerrit Code Review
Browse files

Merge "Do not terminate SMP pairing over LE if SMP over BR/EDR is not supported" into main

parents 4887ee95 856267fd
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -281,7 +281,12 @@ static void smp_br_connect_callback(uint16_t channel, const RawAddress& bd_addr,
    }
  } else {
    /* Disconnected while doing security */
    if (p_cb->smp_over_br) {
      LOG_DEBUG("SMP over BR/EDR not supported, terminate the ongoing pairing");
      smp_br_state_machine_event(p_cb, SMP_BR_L2CAP_DISCONN_EVT, &int_data);
    } else {
      LOG_DEBUG("SMP over BR/EDR not supported, continue the LE pairing");
    }
  }
}