Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a03af695 authored by Chris Manton's avatar Chris Manton
Browse files

Remove never set #def BTIF_MIXED_MODE_INCLUDED

Towards readable code

Bug: 163134718
Tag: #refactor
Test: Compiled and passed basic functionality

Change-Id: I37a71035318f104274768f9ce3c5746527f80d80
parent 2e6b888e
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -133,13 +133,6 @@ bool BTM_SecAddDevice(const RawAddress& bd_addr, DEV_CLASS dev_class,
    }
  }

#if (BTIF_MIXED_MODE_INCLUDED == TRUE)
  if (key_type < BTM_MAX_PRE_SM4_LKEY_TYPE)
    p_dev_rec->sm4 = BTM_SM4_KNOWN;
  else
    p_dev_rec->sm4 = BTM_SM4_TRUE;
#endif

  p_dev_rec->rmt_io_caps = BTM_IO_CAP_OUT;
  p_dev_rec->device_type |= BT_DEVICE_TYPE_BREDR;