]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Clear LE white list when resetting controller
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 29 Oct 2014 22:37:53 +0000 (23:37 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 30 Oct 2014 16:41:08 +0000 (17:41 +0100)
commit0ee355975a2e4edfcdf28f7dd93b41f2eeda3b8e
treea42abb33f8f612305d7f5a91206caefeac1f753c
parent5f6908e877c51059ea8b10903d2bda7519b5c9e4
Bluetooth: Clear LE white list when resetting controller

The internal representation of the LE white list needs to be cleared
when receiving a successful HCI_Reset command. A reset of the controller
is expected to start with an empty LE white list.

When the LE white list is not cleared on controller reset, the passive
background scanning might skip programming the remote devices. Only
changes to the LE white list are programmed when passive background
is started.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Cc: stable@vger.kernel.org # 3.17.x
net/bluetooth/hci_event.c