rfcomm: fix previous commit, return 1 although it's not used currently

This commit is contained in:
Matthias Ringwald 2016-05-25 21:02:39 +02:00
parent 7d20d6a437
commit d5499c6f2d

View File

@ -1029,7 +1029,8 @@ static int rfcomm_hci_event_handler(uint8_t *packet, uint16_t size){
log_info("L2CAP_EVENT_CHANNEL_CLOSED state %u", multiplexer->state);
// no need to call l2cap_disconnect here, as it's already closed
rfcomm_multiplexer_finalize(multiplexer);
break;
return 1;
default:
break;
}