commit | 8d6832b25691226ce5059acb5d07068b29176599 | [log] [tgz] |
---|---|---|
author | Ryan Erickson <ryan.erickson@lairdconnect.com> | Mon Jun 28 10:00:42 2021 -0500 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Fri Aug 20 06:33:31 2021 -0400 |
tree | ab1816d0fb5cdf67afb797bee7cb22db5a3c7e8d | |
parent | 6ef958c2e1bef96ba0090ad0d0c9c4803f257218 [diff] |
drivers: modem: hl7800: socket RX could drop data net_buf_skipcrlf() will remove all \r\n characters from the buffer. If the data after CONNECT\r\n contained \r or \n it would be removed, resulting in dropped data. Fix this to only remove two bytes to ensure data is not dropped. Signed-off-by: Ryan Erickson <ryan.erickson@lairdconnect.com>