Bluetooth: Add support for Set Privacy command
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 23 Feb 2014 17:42:27 +0000 (19:42 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 23 Feb 2014 20:24:26 +0000 (12:24 -0800)
commit62b04cd124cb76ce0b9a6391c6c046c08c1ac8b7
treed767548185774ba3acd6cdfa07fdb3ef5b2694c1
parentc982b2ea29af7a78685b9e32ea028917a07b783e
Bluetooth: Add support for Set Privacy command

This patch adds support for handling the Set Privacy mgmt command,
including copying the value to hdev->irk and toggling the HCI_PRIVACY
flag.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c