Bluetooth: nble: Catch and handle non-zero fn_index
Avoid multiple breaks and gracefully catch non-zero values of fn_index Change-Id: I1cf7b271b8478e63af2da1f40b4caceb63d7ce90 Signed-off-by: Prasanna Karthik <pkarthik@intrinsyc.com>
This commit is contained in:
parent
40f91b7105
commit
6545aa3f52
1 changed files with 2 additions and 1 deletions
|
@ -557,8 +557,9 @@ static void deserialize_control(uint8_t fn_index, struct net_buf *buf)
|
|||
rpc_init_cb(struct_data.version, true);
|
||||
}
|
||||
break;
|
||||
break;
|
||||
default:
|
||||
panic(-1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue