]> git.karo-electronics.de Git - linux-beck.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)
commit035ad621b6e625e185fe7b6929788d1d83727079
tree6c617ce1d06d3cc8fedf6a6525eda670b613d45b
parentb1f663c91c9dd96cc3e57ce7e90d29a6b43b9e16
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