]> git.karo-electronics.de Git - karo-tx-linux.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)
commit2976cdeb27c83c83bf010a314309f07659ead228
tree22057c69c57c204342c723b2362d33c819d9ba1a
parent48f86b7f2673352d075e567a8f3425c548be8424
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