]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Refactor service discovery filter logic
authorJakub Pawlowski <jpawlowski@google.com>
Thu, 5 Mar 2015 00:24:25 +0000 (16:24 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 5 Mar 2015 07:50:50 +0000 (09:50 +0200)
commit65763b2615d715f9dc57c72e39454787cc1bb745
tree22057c69c57c204342c723b2362d33c819d9ba1a
parentc90f8b8ca1f4c7ab752509b43f7ac93f20150225
Bluetooth: Refactor service discovery filter logic

This patch refactor code responsible for filtering when service
discovery method is used. Previously this code was mixed with
mgmt_device found logic. Now when it's in one place whole logic can
be greatly simplified. That includes removing no longer necessary
length field and merging checks for eir and scan_rsp.

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