aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/mesh_mpm.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-05-15 17:27:17 (GMT)
committerJouni Malinen <j@w1.fi>2018-05-15 17:55:17 (GMT)
commitd267bdf9bd3e2b6a00d47d2fa9601e0079e5b853 (patch)
tree942afeb52174bfc812296f3733edf68206311e7f /wpa_supplicant/mesh_mpm.c
parent79467d74fd095923843e73726468b0c3b312bc60 (diff)
downloadhostap-d267bdf9bd3e2b6a00d47d2fa9601e0079e5b853.zip
hostap-d267bdf9bd3e2b6a00d47d2fa9601e0079e5b853.tar.gz
hostap-d267bdf9bd3e2b6a00d47d2fa9601e0079e5b853.tar.bz2
Silence new gcc warnings on switch statement fallthroughs
Reword the comments to make gcc 8.1 recognize these as designed cases and not trigger implicit-fallthrough warnings. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/mesh_mpm.c')
-rw-r--r--wpa_supplicant/mesh_mpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/mesh_mpm.c b/wpa_supplicant/mesh_mpm.c
index bc3cc5e..d166cfe 100644
--- a/wpa_supplicant/mesh_mpm.c
+++ b/wpa_supplicant/mesh_mpm.c
@@ -437,7 +437,7 @@ static void plink_timer(void *eloop_ctx, void *user_data)
break;
}
reason = WLAN_REASON_MESH_MAX_RETRIES;
- /* fall through on else */
+ /* fall through */
case PLINK_CNF_RCVD:
/* confirm timer */