l2cap: fix unused var in l2cap_run

This commit is contained in:
Matthias Ringwald 2020-04-14 15:44:58 +02:00
parent 087c4e09de
commit 273692f274

View File

@ -1821,11 +1821,9 @@ static void l2cap_run(void){
// log_info("l2cap_run: entered");
l2cap_run_signaling_response();
bool done;
#ifdef ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
done = l2ap_run_ertm();
bool done = l2ap_run_ertm();
if (done) return;
#endif