drivers: wifi: eswifi: Offload sockets regression

This change fixes a regression from commit 1cbc0acd.

Socket offload uses a dummy socket context, and setting
the socket state in this dummy context is invalid.

Fixes #52317

Signed-off-by: Brian Dunlay <brian@nubix.io>
This commit is contained in:
Brian Dunlay 2022-11-17 10:34:19 -08:00 committed by Carles Cufí
parent d17caaacc5
commit a9ac0a884e

View file

@ -221,7 +221,6 @@ int __eswifi_off_start_client(struct eswifi_dev *eswifi,
LOG_ERR("Unable to start TCP/UDP client");
return -EIO;
}
net_context_set_state(socket->context, NET_CONTEXT_CONNECTED);
return 0;
}