1
0
mirror of https://github.com/bluekitchen/btstack.git synced 2025-02-23 18:39:52 +00:00

bnep: update deinit function

This commit is contained in:
Matthias Ringwald 2021-07-20 15:59:15 +02:00
parent 65bd7af57b
commit ed47fef431

@ -1590,12 +1590,13 @@ static void bnep_handle_can_send_now(uint16_t l2cap_cid){
/* BNEP BTStack API */
void bnep_init(void)
{
bnep_services = NULL;
bnep_channels = NULL;
bnep_security_level = gap_get_security_level();
}
void bnep_deinit(void){
bnep_services = NULL;
bnep_channels = NULL;
bnep_security_level = 0;
}
void bnep_set_required_security_level(gap_security_level_t security_level)