]> 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)
commitc90f8b8ca1f4c7ab752509b43f7ac93f20150225
tree5367e6ba3110b37f08eaf30f16e931b82f719f15
parent42acdc7d54fa0b9ca7e28ecff8163faa2bea6c85
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