Revert "Fix two bad "fall-through" code"

This reverts commit a7f2ef4aec.

The fall through is actually a regression
This commit is contained in:
Joel Cunningham 2017-10-23 08:59:43 -05:00
parent 98d5e06dba
commit 22dacc38c0

View File

@ -2449,8 +2449,6 @@ event_callback(struct netconn *conn, enum netconn_evt evt, u16_t len)
case NETCONN_EVT_RCVMINUS:
sock->rcvevent--;
check_waiters = 0;
sock->sendevent = 1;
break;
case NETCONN_EVT_SENDPLUS:
if (sock->sendevent) {
check_waiters = 0;
@ -2460,8 +2458,6 @@ event_callback(struct netconn *conn, enum netconn_evt evt, u16_t len)
case NETCONN_EVT_SENDMINUS:
sock->sendevent = 0;
check_waiters = 0;
sock->errevent = 1;
break;
case NETCONN_EVT_ERROR:
sock->errevent = 1;
break;