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

Commit f4e392c4 authored by Dmitry Grinberg's avatar Dmitry Grinberg Committed by Android Git Automerger
Browse files

am c5a6eee7: DO NOT MERGE: allow customization of sniff params

* commit 'c5a6eee7':
  DO NOT MERGE: allow customization of sniff params
parents 755ee768 c5a6eee7
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -783,6 +783,13 @@ BOOLEAN btsnd_hcic_sniff_mode (UINT16 handle, UINT16 max_sniff_period,
    BT_HDR *p;
    UINT8 *pp;

    #ifdef BDCFG_OVERRIDE_SNIFF_MODE_MAX
    max_sniff_period = BDCFG_OVERRIDE_SNIFF_MODE_MAX;
    min_sniff_period = BDCFG_OVERRIDE_SNIFF_MODE_MIN;
    sniff_attempt = BDCFG_OVERRIDE_SNIFF_MODE_ATTEMPT;
    sniff_timeout = BDCFG_OVERRIDE_SNIFF_MODE_TIMEOUT;
    #endif

    if ((p = HCI_GET_CMD_BUF(HCIC_PARAM_SIZE_SNIFF_MODE)) == NULL)
        return (FALSE);