commit | bf37acc3c04e7e6a391153fbfb4bfe9ed00b5ec1 | [log] [tgz] |
---|---|---|
author | Ryan Erickson <ryan.erickson@lairdconnect.com> | Tue Jun 28 14:34:06 2022 -0500 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Fri Jul 01 11:36:44 2022 +0200 |
tree | 6e7e4b619e87ca7d7a3226f06382c419c6448595 | |
parent | 2bdd4c983684e3ee3af64e36d385c79bebbc7e4b [diff] |
modem: hl7800: Fix socket error race condition Using a global error flag could lead to an error on one socket appearing as an error with a separate socket instance. Socket errors moved into the socket context. Continue to use global error flag for commands not related to sockets. For TCP sockets closed by the server, don't try and close the socket again when offload_put is called. Signed-off-by: Ryan Erickson <ryan.erickson@lairdconnect.com>