Skip to content

Commit 8c94411

Browse files
Merge commit '94f82102284f73721f685ec9ae535aef815e0d69'
* commit '94f82102284f73721f685ec9ae535aef815e0d69': Squashed 'features/nanostack/sal-stack-nanostack/' changes from 7963594..2535a6c
2 parents b373b13 + 94f8210 commit 8c94411

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)