]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove bogus check for pending mgmt Set HS command
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 19 Feb 2015 15:38:06 +0000 (17:38 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 19 Feb 2015 16:05:09 +0000 (17:05 +0100)
commit4f946f4630ce0fe50a41220f85196bb1ab480886
tree672a104ba82890d9a91d2e638fbe3f833aa5f5a9
parent5d0edffda11dd65c98122247da668d7066359e98
Bluetooth: Remove bogus check for pending mgmt Set HS command

The command handler for Set HS doesn't use mgmt_pending_add() so we can
never have a pending Set HS command that mgmt_pending_find() would
return. This patch removes an unnecessary lookup for it in the set_ssp()
handler function.

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