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

This commit is contained in:
Hrishikesh Dhayagude
2019-08-06 14:30:08 +05:30
committed by Prasad Alatkar
parent ac730d7f91
commit 1458599cf3
+1 -1
View File
@@ -534,8 +534,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);