Unverified Commit 2ee416ab authored by Ken A. Redergård's avatar Ken A. Redergård Committed by GitHub
Browse files

Fix test_util_adapter_wrapper to use provided MTU in SD > 3 (#184)

parent 4ee5bf2d
......@@ -903,9 +903,10 @@ void AdapterWrapper::setupScratchpad(const uint16_t mtu)
scratchpad.common_opt.conn_bw.conn_bw.conn_bw_rx = BLE_CONN_BW_HIGH;
scratchpad.common_opt.conn_bw.conn_bw.conn_bw_tx = BLE_CONN_BW_HIGH;
scratchpad.opt.common_opt = scratchpad.common_opt;
scratchpad.mtu = mtu == 0 ? DEFAULT_MTU_SIZE : mtu;
#endif
scratchpad.mtu = mtu == 0 ? DEFAULT_MTU_SIZE : mtu;
#if NRF_SD_BLE_API == 3
scratchpad.ble_enable_params.gatt_enable_params.att_mtu = scratchpad.mtu;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment