]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Move Service Discovery logic before refactoring
authorJakub Pawlowski <jpawlowski@google.com>
Thu, 5 Mar 2015 00:24:24 +0000 (16:24 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 5 Mar 2015 07:50:50 +0000 (09:50 +0200)
commit31ed674e0a84c395b68414b5bddf56b84c3d47fb
tree5367e6ba3110b37f08eaf30f16e931b82f719f15
parent95ffa8a7918b9a71e32b98516bced83ea4de7ca4
Bluetooth: Move Service Discovery logic before refactoring

This patch moves whole packet filering logic of service discovery
into new function is_filter_match. It's done because logic inside
mgmt_device_found is very complicated and needs some
simplification.

Also having whole logic in one place will allow to simplify it in
the future.

Signed-off-by: Jakub Pawlowski <jpawlowski@google.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c