Bluetooth: Implement set_pairable managment command
This patch implements a new set_pairable management command to control the pairable state of local adapters. The state is represented using a new HCI_PAIRABLE flag in the hci_dev struct. For backwards compatibility with older user space versions the HCI_PAIRABLE flag gets automatically set when the existence of an adapter is reported to user space through legacy methods and the HCI_MGMT flag is not set. Signed-off-by:Johan Hedberg <johan.hedberg@nokia.com> Signed-off-by:
Gustavo F. Padovan <padovan@profusion.mobi>
Showing
- include/net/bluetooth/hci.h 1 addition, 0 deletionsinclude/net/bluetooth/hci.h
- include/net/bluetooth/mgmt.h 4 additions, 0 deletionsinclude/net/bluetooth/mgmt.h
- net/bluetooth/hci_core.c 10 additions, 0 deletionsnet/bluetooth/hci_core.c
- net/bluetooth/mgmt.c 65 additions, 23 deletionsnet/bluetooth/mgmt.c
Loading
Please register or sign in to comment