BugID:17132021:[WhiteScan] [587318] [RETURN_LOCAL] /home/iot/WhiteScan/app/example/hdlcapp/hdlcclient/hdlcclient.c
@@ -367,7 +367,7 @@ static void handle_hdlc(char *pwbuf, int blen, int argc, char **argv)
LOGD(TAG, "Will suspend station");
ycmd = ATYWSSSUSPSTA;
} else if (strcmp(argv[2], "setch") == 0) {
- char chcmd[sizeof(ATYWSSSETCH) + 3] = { 0 };
+ static char chcmd[sizeof(ATYWSSSETCH) + 3] = { 0 };
if (argc != 4) {
LOGE(TAG, "Invalid argument for ywss.");
return;
