nimble/ll: Do not initiate features xchg as a slave

This patch removes initial feature xchg from controller when connected
as a slave due to observed problems with recent iPhones (8 and X).

X-Original-Commit: 04bf95924537757ff8516a275297ea6f2a6d4393
This commit is contained in:
Andrzej Kaczmarek
2017-12-20 13:46:56 +01:00
parent 5dc94ac602
commit 3829cc3570
+10 -3
View File
@@ -2511,10 +2511,17 @@ ble_ll_conn_created(struct ble_ll_conn_sm *connsm, struct ble_mbuf_hdr *rxhdr)
#if (MYNEWT_VAL(BLE_LL_CFG_FEAT_LE_CSA2) == 1)
ble_ll_hci_ev_le_csa(connsm);
#endif
}
/* Initiate features exchange */
ble_ll_ctrl_proc_start(connsm, BLE_LL_CTRL_PROC_FEATURE_XCHG);
/*
* Initiate features exchange
*
* XXX we do this only as a master as it was observed that sending
* LL_SLAVE_FEATURE_REQ after connection breaks some recent iPhone
* models; for slave just assume master will initiate features xchg
* if it has some additional features to use.
*/
ble_ll_ctrl_proc_start(connsm, BLE_LL_CTRL_PROC_FEATURE_XCHG);
}
}
return rc;