Bluetooth: Create hci_req_add_le_scan_disable helper
authorAndre Guedes <andre.guedes@openbossa.org>
Wed, 26 Feb 2014 23:21:40 +0000 (20:21 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 27 Feb 2014 03:41:33 +0000 (19:41 -0800)
commitb1efcc2870687ec3e3c51fa72210b8e4fa465df8
tree480514a66414891dd560b11447a26af285d88720
parent4bd6d38e7f58b163138d3fea8fa135de523bfb92
Bluetooth: Create hci_req_add_le_scan_disable helper

This patch moves stop LE scanning duplicate code to one single
place and reuses it. This will avoid more duplicate code in
upcoming patches.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/mgmt.c