host/l2cap_coc: use global _COC_MTU config val

This commit is contained in:
Hauke Petersen
2019-01-30 14:23:16 +01:00
committed by Łukasz Rymanowski
parent 5889dcba8d
commit 4f855d00cd
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ ble_l2cap_coc_chan_alloc(uint16_t conn_handle, uint16_t psm, uint16_t mtu,
chan->cb = cb;
chan->cb_arg = cb_arg;
chan->scid = ble_l2cap_coc_get_cid();
chan->my_mtu = BLE_L2CAP_COC_MTU;
chan->my_mtu = MYNEWT_VAL(BLE_L2CAP_COC_MTU);
chan->rx_fn = ble_l2cap_coc_rx_fn;
chan->coc_rx.mtu = mtu;
chan->coc_rx.sdu = sdu_rx;
-1
View File
@@ -30,7 +30,6 @@
extern "C" {
#endif
#define BLE_L2CAP_COC_MTU 100
#define BLE_L2CAP_COC_CID_START 0x0040
#define BLE_L2CAP_COC_CID_END 0x007F