OSDN Git Service

Remove stray out service call
authorZach Johnson <zachoverflow@google.com>
Tue, 25 Aug 2020 22:56:59 +0000 (15:56 -0700)
committerZach Johnson <zachoverflow@google.com>
Tue, 25 Aug 2020 22:56:59 +0000 (15:56 -0700)
Forgotten in other patch

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I825ca53a9c039f80abb822544b8186585180d0da

stack/hid/hidd_conn.cc

index e6c2ef1..8daa4c7 100644 (file)
@@ -826,8 +826,6 @@ tHID_STATUS hidd_conn_initiate(void) {
 
   p_dev->conn.conn_flags = HID_CONN_FLAGS_IS_ORIG;
 
-  BTM_SetOutService(p_dev->addr, BTM_SEC_SERVICE_HIDD_SEC_CTRL, HIDD_SEC_CHN);
-
   /* Check if L2CAP started the connection process */
   if ((p_dev->conn.ctrl_cid =
            L2CA_ConnectReq2(HID_PSM_CONTROL, p_dev->addr,