]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Update page scan parameters after successful write commands
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 15 Mar 2013 22:07:12 +0000 (17:07 -0500)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 18 Mar 2013 18:36:03 +0000 (15:36 -0300)
commit2390c124301e07e7b5472cc5d6f7f22f6f6e3c80
tree241fd2aed7f65300cab2878fb0904379d386a46a
parent02cdc90f714b94de5c5c2994099eb74805949e5e
Bluetooth: Update page scan parameters after successful write commands

The page scan parameters (interval, window and type) stored in struct
hci_dev should not only be updated after successful reads but also after
successful writes. This patch adds the necessary handlers for the write
command complete events and updates the stored values through them.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_event.c