Skip to content
Commit 5185b8cf authored by Michael Scott's avatar Michael Scott Committed by Jukka Rissanen
Browse files

drivers: modem: cmd_handler: honor num of params in parse_params



Modem commands are setup with arg_count to denote the number of params
to parse before returning.  Let's honor that setting and return once
we've parse them.

This fixes a run-on bug where the parser would find as many of the
parameters via the supplied delimiter as it could.

Signed-off-by: default avatarMichael Scott <mike@foundries.io>
parent b08ac66f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment