summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-07-17 12:56:33 +0400
committerMarcel Holtmann <marcel@holtmann.org>2014-07-17 13:38:00 +0400
commit9f743d7499bc2c4dc8c35af33bdb2a29bea663b9 (patch)
treea95e80a3d94cab6502b592e2c4be515bc19279bc /drivers
parent46c4c941a417265e4b8afb3c52f31cabcbf4deb1 (diff)
downloadlinux-9f743d7499bc2c4dc8c35af33bdb2a29bea663b9.tar.xz
Bluetooth: Fix using uninitialized variable when pairing
Commit 6c53823ae0e10e723131055e1e65dd6a328a228e reshuffled the way the authentication requirement gets set in the hci_io_capa_request_evt() function, but at the same time it failed to update an if-statement where cp.authentication is used before it has been initialized. The correct value the code should be looking for in this if-statement is conn->auth_type. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Cc: stable@vger.kernel.org # 3.16
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions