Merge branch 'bugfix/btdm_fix_register_app_id_failed_when_more_than_3' into 'master'

component/bt: fix register more than three app_ids failed

See merge request !1389
This commit is contained in:
Jiang Jiang Jian 2017-10-13 15:57:00 +08:00
commit 90be957af1

View file

@ -72,7 +72,11 @@ typedef UINT16 tBTA_GATTC_INT_EVT;
/* max client application GATTC can support */
#ifndef BTA_GATTC_CL_MAX
#define BTA_GATTC_CL_MAX 3 // 32
#if (GATT_MAX_PHY_CHANNEL > 3)
#define BTA_GATTC_CL_MAX GATT_MAX_PHY_CHANNEL
#else
#define BTA_GATTC_CL_MAX 3 // The origin value is 10
#endif
#endif
/* max known devices GATTC can support */