fix(ble/bluedroid): Disable bluedroid desire_role

(cherry picked from commit 9ae4d9a14a20d152042d626f56daaf568ee21c89)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
This commit is contained in:
Zhi Wei Jian
2026-01-07 17:24:19 +08:00
parent a8d0be7f2a
commit 2348342ff4
6 changed files with 12 additions and 7 deletions
@@ -490,9 +490,10 @@ typedef struct {
list_t *p_ccb_pool; /* Channel Control Block pool */
tL2C_RCB rcb_pool[MAX_L2CAP_CLIENTS]; /* Registration info pool */
#if (CLASSIC_BT_INCLUDED == TRUE)
UINT8 desire_role; /* desire to be master/slave when accepting a connection */
BOOLEAN disallow_switch; /* FALSE, to allow switch at create conn */
#endif // (CLASSIC_BT_INCLUDED == TRUE)
UINT16 num_lm_acl_bufs; /* # of ACL buffers on controller */
UINT16 idle_timeout; /* Idle timeout */