Skip to content

Commit 3bb8852

Browse files
dmantipovVudentz
authored andcommitted
Bluetooth: MGMT: iterate over mesh commands in mgmt_mesh_foreach()
In 'mgmt_mesh_foreach()', iterate over mesh commands rather than generic mgmt ones. Compile tested only. Fixes: b338d91 ("Bluetooth: Implement support for Mesh") Signed-off-by: Dmitry Antipov <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
1 parent 71d9d35 commit 3bb8852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/bluetooth/mgmt_util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ void mgmt_mesh_foreach(struct hci_dev *hdev,
304304
{
305305
struct mgmt_mesh_tx *mesh_tx, *tmp;
306306

307-
list_for_each_entry_safe(mesh_tx, tmp, &hdev->mgmt_pending, list) {
307+
list_for_each_entry_safe(mesh_tx, tmp, &hdev->mesh_pending, list) {
308308
if (!sk || mesh_tx->sk == sk)
309309
cb(mesh_tx, data);
310310
}

0 commit comments

Comments
 (0)