Skip to content

Commit 3065e2f

Browse files
authored
Merge pull request #7854 from deepakvenugopal/master
Nanostack patch release for Mbed OS 5.10
2 parents 2d33053 + 8c94411 commit 3065e2f

File tree

1 file changed

+1
-1
lines changed
  • features/nanostack/sal-stack-nanostack/source/MAC/IEEE802_15_4

1 file changed

+1
-1
lines changed

features/nanostack/sal-stack-nanostack/source/MAC/IEEE802_15_4/mac_pd_sap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ int8_t mac_pd_sap_data_cb(void *identifier, arm_phy_sap_msg_t *message)
700700
}
701701
//Do not accept commend frame with length 0
702702
if (fcf_read.frametype == FC_CMD_FRAME && length == 0) {
703-
return -1;
703+
goto ERROR_HANDLER;
704704
}
705705

706706
//Parse IE Elements

0 commit comments

Comments
 (0)