]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Bluetooth: Fix updating page scan parameters when not necessary
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 15 Mar 2013 22:07:13 +0000 (17:07 -0500)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 18 Mar 2013 18:36:03 +0000 (15:36 -0300)
commitbd98b9966f915411a32ecee3fa434cb051167d8a
tree64fb4d5e8bd022451903d2e16bc69ec2c9ad066e
parent4a3ee763ba797e0489b7e9fd8810ae087c2a7504
Bluetooth: Fix updating page scan parameters when not necessary

Now that the current page scan parameters are stored in struct hci_dev
we should check against those values before sending new HCI commands to
change 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/mgmt.c