zephyr/drivers/modem
Michael Scott d5d35d06d1 drivers: modem: wncm14a2a: cleanup wncm14a2a_rx() handler block
Coverity doesn't like that we're storing the return value of
net_buf_findcrlf() near the end of the handler block as "len".
Only to overwrite "len" again once we exit and look for the next
match.

Let's ignore the return value there and also remove the redundant
check for !frag.  Either way, we've found a handler, and need to
break the search loop.

Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/12315

Signed-off-by: Michael Scott <mike@foundries.io>
2019-03-07 04:58:45 -06:00
..
CMakeLists.txt drivers/modem: Switch wncm14a2a driver to new net_pkt API 2019-02-21 09:30:57 -05:00
Kconfig drivers: modem: wistron kconfig separation 2019-03-01 09:48:12 +01:00
Kconfig.wncm14a2a drivers: modem: wistron kconfig separation 2019-03-01 09:48:12 +01:00
modem_receiver.c drivers: modem: fix extra bytes sent by mdm_receiver_send() 2019-03-04 09:40:45 -05:00
modem_shell.c shell: Modify subcommands to use SHELL_STATIC_SUBCMD_SET_CREATE 2019-02-20 07:31:35 -05:00
wncm14a2a.c drivers: modem: wncm14a2a: cleanup wncm14a2a_rx() handler block 2019-03-07 04:58:45 -06:00