Diff between a5c10fdea5a4631ce4d9ac4c213b40dcc2ab01c0 and 2d6ca05225233510fcd6e241629c0953c276251c
Changed Files
| File | Additions | Deletions | Status |
| sap/server.c | +1 | -2 | modified |
Full Patch
diff --git a/sap/server.c b/sap/server.c
index 8bd8fe1..06a4361 100644
--- a/sap/server.c
+++ b/sap/server.c
@@ -630,8 +630,7 @@ int sap_connect_rsp(void *sap_device, uint8_t status, uint16_t maxmsgsize)
size += PARAMETER_SIZE(SAP_PARAM_ID_CONN_STATUS_LEN);
/* Add MaxMsgSize */
- if (maxmsgsize && (status == SAP_STATUS_MAX_MSG_SIZE_NOT_SUPPORTED ||
- status == SAP_STATUS_MAX_MSG_SIZE_TOO_SMALL)) {
+ if (maxmsgsize) {
uint16_t *len;
msg->nparam++;