Skip to content

Commit 255f38a

Browse files
SeppoTakalotrantanen
authored andcommitted
app: ppp: Don't release the PPP pipe unnecessary
On the AT#XPPP=0, we should still keep the pipe on certain cases. Mostly, when PPP is running on DLC 2. So leave the channel release to AT+CGDATA command, or CMUX module. Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
1 parent 27032e9 commit 255f38a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/sm_ppp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ static int handle_at_ppp(enum at_parser_cmd_type cmd_type, struct at_parser *par
719719
} else {
720720
rsp_send_ok();
721721
sm_ppp_set_auto_start(false);
722-
sm_ppp_detach();
722+
delegate_ppp_event(PPP_STOP, PPP_REASON_CMD);
723723
}
724724
return -SILENT_AT_COMMAND_RET;
725725
}

0 commit comments

Comments
 (0)