Merge branch 'nimble/fix_warning' into 'nimble-1.1.0-idf'

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

See merge request idf/esp-nimble!10
This commit is contained in:
Hrishikesh Dhayagude
2019-06-20 14:56:11 +08:00
+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);