Bluetooth: HFP HF: Fix getting inaccessible internal
The profile (application layer) shouldn't use direct (de)references to internal stack context members. Change-Id: I772134a5016de6706c30f058545b3c64c0894202 Signed-off-by: Arkadiusz Lichwa <arkadiusz.lichwa@tieto.com>
This commit is contained in:
parent
2fb8a11906
commit
97b32a0468
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ static int bt_hfp_hf_accept(struct bt_conn *conn, struct bt_rfcomm_dlc **dlc)
|
|||
.recv = hfp_hf_recv,
|
||||
};
|
||||
|
||||
BT_DBG("conn %p handle %u", conn, conn->handle);
|
||||
BT_DBG("conn %p", conn);
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(bt_hfp_hf_pool); i++) {
|
||||
struct bt_hfp_hf *hf = &bt_hfp_hf_pool[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue