summaryrefslogtreecommitdiff
path: root/profiles/sap
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2017-07-11 11:32:26 -0700
committerMarcel Holtmann <marcel@holtmann.org>2017-07-11 11:32:26 -0700
commit0446d4a9c3ae683ca383644d0308700799924671 (patch)
treeb3ca8b136d65325a397baef98245459e73d258ea /profiles/sap
parent9a35bd6d42768568a2dc85792c0d27ee317e329a (diff)
downloadbluez-0446d4a9c3ae683ca383644d0308700799924671.tar.gz
sap: Add missing fall through declaration
Diffstat (limited to 'profiles/sap')
-rw-r--r--profiles/sap/server.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/profiles/sap/server.c b/profiles/sap/server.c
index ce423a178..5de682a33 100644
--- a/profiles/sap/server.c
+++ b/profiles/sap/server.c
@@ -674,8 +674,7 @@ int sap_connect_rsp(void *sap_device, uint8_t status)
param->len = htons(SAP_PARAM_ID_MAX_MSG_SIZE_LEN);
put_be16(SAP_BUF_SIZE, &param->val);
size += PARAMETER_SIZE(SAP_PARAM_ID_MAX_MSG_SIZE_LEN);
-
- /* fall */
+ /* fall through */
default:
conn->state = SAP_STATE_DISCONNECTED;
@@ -992,7 +991,7 @@ int sap_status_ind(void *sap_device, uint8_t status_change)
/* Change state to connected after ongoing call ended */
sap_set_connected(server);
- /* fall */
+ /* fall through */
case SAP_STATE_CONNECTED:
case SAP_STATE_GRACEFUL_DISCONNECT:
memset(buf, 0, sizeof(buf));