Skip to content

Commit 531e738

Browse files
committed
GEMALTO CINTERION: use default timeout to close sockets
1 parent 1de85b5 commit 531e738

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

connectivity/drivers/cellular/GEMALTO/CINTERION/GEMALTO_CINTERION_CellularStack.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,14 +252,10 @@ nsapi_error_t GEMALTO_CINTERION_CellularStack::socket_close_impl(int sock_id)
252252
{
253253
tr_debug("Cinterion close %d", sock_id);
254254

255-
_at.set_at_timeout(FAILURE_TIMEOUT);
256-
257255
_at.at_cmd_discard("^SISC", "=", "%d", sock_id);
258256

259257
_at.clear_error(); // clear SISS even though SISC fails
260258

261-
_at.restore_at_timeout();
262-
263259
return _at.get_last_error();
264260
}
265261

0 commit comments

Comments
 (0)