OSDN Git Service

HCI: return non-const security interfaces
authorJakub Pawlowski <jpawlowski@google.com>
Fri, 6 Sep 2019 14:01:33 +0000 (16:01 +0200)
committerJakub Pawlowski <jpawlowski@google.com>
Fri, 6 Sep 2019 14:07:48 +0000 (16:07 +0200)
commit724a23cd4bb065c64940d937aa698ea231856feb
tree2c5aa454c3ff7436007d33cdbaf77526621b6548
parent4004de748ae46c2ef6bcf3ca2313f2706619ae44
HCI: return non-const security interfaces

If we return pointer to const, we can't call any of the methods in the
interface, as they are not marked const. Remove the qualifier.

Test: Try calling any method on LeSecurityInterface
Bug: 139138713
Change-Id: I1948fbda55b3c21ad613b5a79aff5caba75fa029
gd/hci/hci_layer.cc
gd/hci/hci_layer.h