aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-05-15 17:29:00 (GMT)
committerJouni Malinen <j@w1.fi>2018-05-15 22:16:35 (GMT)
commitce2a9644bd6781b947ed05e1f42230ae90748b17 (patch)
tree2c32b7c7610747adbde5cc131270ee78d7c57433 /wpa_supplicant
parentd267bdf9bd3e2b6a00d47d2fa9601e0079e5b853 (diff)
downloadhostap-ce2a9644bd6781b947ed05e1f42230ae90748b17.zip
hostap-ce2a9644bd6781b947ed05e1f42230ae90748b17.tar.gz
hostap-ce2a9644bd6781b947ed05e1f42230ae90748b17.tar.bz2
Silence a gcc warning on switch statement fallthrough
Add an explicit comment noting a previously undocumented fallthrough to not trigger an implicit-fallthrough warning. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/p2p_supplicant.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
index 6ae3adb..92b6e60 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -748,6 +748,7 @@ static u8 p2ps_group_capability(void *ctx, u8 incoming, u8 role,
conncap = P2PS_SETUP_GROUP_OWNER;
goto grp_owner;
}
+ /* fall through */
default:
return P2PS_SETUP_NONE;