NimBLE: Fix warning for fall through switch case with xtensa GCC 8 toolchain

This commit is contained in:
Hrishikesh Dhayagude
2020-08-03 23:37:28 +05:30
committed by Prasad Alatkar
parent c00e9bd52f
commit 41e8ae9695
+1 -1
View File
@@ -530,8 +530,8 @@ bool bt_mesh_kr_update(struct bt_mesh_subnet *sub, u8_t new_kr, bool new_key)
* immediately transition to Phase 3, which effectively skips
* Phase 2.
*
* Intentional fall-through.
*/
/* falls through */
case BT_MESH_KR_PHASE_2:
BT_DBG("KR Phase 0x%02x -> Normal", sub->kr_phase);
bt_mesh_net_revoke_keys(sub);