]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Move SC-only check outside of BT_CONFIG branch
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 11 Jun 2015 10:52:28 +0000 (13:52 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 12 Jun 2015 09:38:45 +0000 (11:38 +0200)
commit9f85e59cbeb8e10e64a3958834ad0a0dacb85b87
tree6c617ce1d06d3cc8fedf6a6525eda670b613d45b
parentfb2ef7e3b0982ca2770639d7bb87e741615eae42
Bluetooth: Move SC-only check outside of BT_CONFIG branch

Checking for SC-only mode requirements when we get an encrypt change
event shouldn't be limited to the BT_CONFIG state but done any time
encryption changes.

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