Skip to content
Commit 3d659a35 authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Maureen Helm
Browse files

drivers: modem: cmd_handler: split cmd_handler_process() implementation



cmd_handler_process() does two major things:

 - reads data from modem interface and fills data->rx_buf,
 - processes data in data->rx_buf.

Split implementation accordingly to two separate functions, which
improves readability (less automatic variables to follow at once) and
simplifies refactoring of each action.

No functional change was intended in this commit.

Signed-off-by: default avatarMarcin Niestroj <m.niestroj@grinn-global.com>
parent 783155ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment