From 3b5775071531237ea13e3b41595c03d085fb5cfe Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Tue, 20 Oct 2020 04:15:25 +0200 Subject: [PATCH] PPP: remove LWIP_ASSERT_CORE_LOCKED on ppp_set_auth function We do not have equivalents in PPPAPI for ppp_set_* functions because calling them only makes sense while session is disconnected, furthermore they are only setting structure members of the session configuration. --- src/netif/ppp/ppp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/netif/ppp/ppp.c b/src/netif/ppp/ppp.c index 7d16f7fa..fef080fc 100644 --- a/src/netif/ppp/ppp.c +++ b/src/netif/ppp/ppp.c @@ -216,7 +216,6 @@ static err_t ppp_netif_output(struct netif *netif, struct pbuf *pb, u16_t protoc /***********************************/ #if PPP_AUTH_SUPPORT void ppp_set_auth(ppp_pcb *pcb, u8_t authtype, const char *user, const char *passwd) { - LWIP_ASSERT_CORE_LOCKED(); #if PAP_SUPPORT pcb->settings.refuse_pap = !(authtype & PPPAUTHTYPE_PAP); #endif /* PAP_SUPPORT */