From: Alan Cox Date: Tue, 12 Jan 2016 23:17:56 +0000 (+0000) Subject: net: Must move the socket into unconnected X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=6b66fd158365c7c7a670d975f210b815d80a6bd9;p=FUZIX.git net: Must move the socket into unconnected --- diff --git a/Kernel/dev/net/net_at.c b/Kernel/dev/net/net_at.c index 031c4722..51fe6218 100644 --- a/Kernel/dev/net/net_at.c +++ b/Kernel/dev/net/net_at.c @@ -96,6 +96,7 @@ int net_init(struct socket *s) udata.u_error = EPFNOSUPPORT; return -1; } + s->s_state = SS_UNCONNECTED; return 0; }