Bluetooth: Controller: Fix null pointer dereference
Fix null pointer dereference in Controller when receiving an extended advertisement and CONFIG_BT_LOG_LEVEL_DBG is enabled. Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
This commit is contained in:
parent
7323038129
commit
53327e30f2
1 changed files with 1 additions and 1 deletions
|
@ -6247,7 +6247,7 @@ static void le_ext_adv_report(struct pdu_data *pdu_data,
|
|||
ptr += sizeof(*adi);
|
||||
|
||||
BT_DBG(" AdvDataInfo DID = 0x%x, SID = 0x%x",
|
||||
adi->did, adi->sid);
|
||||
adi_curr->did, adi_curr->sid);
|
||||
}
|
||||
|
||||
if (h->aux_ptr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue