Hi Andre, > This patches creates the hci_req_add_le_passive_scan helper so it can > be re-used in the next patch. > > Signed-off-by: Andre Guedes <andre.guedes@xxxxxxxxxxxxx> > --- > net/bluetooth/hci_core.c | 54 +++++++++++++++++++++++++++--------------------- > 1 file changed, 30 insertions(+), 24 deletions(-) > > diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c > index fb4c961..e776624 100644 > --- a/net/bluetooth/hci_core.c > +++ b/net/bluetooth/hci_core.c > @@ -5095,6 +5095,35 @@ void hci_req_add_le_scan_disable(struct hci_request *req) > hci_req_add(req, HCI_OP_LE_SET_SCAN_ENABLE, sizeof(cp), &cp); > } > > +static void hci_req_add_le_passive_scan(struct hci_request *req, > + struct hci_dev *hdev) > +{ struct hci_dev *hdev = req->hdev; Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html