]> git.baikalelectronics.ru Git - 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)
commit61fe6a3059921d6935745565f7e20f0412b54602
tree64fb4d5e8bd022451903d2e16bc69ec2c9ad066e
parent203066da9f199963fd59844196199c608fdff4bc
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