Fix bug in LL encryption procedure, controller was using the wrong pointer to connection state. Function event_enc_prep is called from slave_event_prepare, where _radio.curr_conn has not been assigned yet. The connection ended up sending LL_START_ENC_RSP unencrypted, resulting in disconnect on the peer side with reason MIC failure. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| crypto | ||
| hal | ||
| hci | ||
| include | ||
| ll_sw | ||
| ticker | ||
| util | ||
| CMakeLists.txt | ||
| Kconfig | ||