mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +08:00
sem:remove sem default protocl
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
@@ -214,7 +214,6 @@ int sixlowpan_send(FAR struct net_driver_s *dev,
|
||||
/* Initialize the send state structure */
|
||||
|
||||
nxsem_init(&sinfo.s_waitsem, 0, 0);
|
||||
nxsem_set_protocol(&sinfo.s_waitsem, SEM_PRIO_NONE);
|
||||
|
||||
sinfo.s_result = -EBUSY;
|
||||
sinfo.s_ipv6hdr = ipv6hdr;
|
||||
|
||||
@@ -613,7 +613,6 @@ static int sixlowpan_send_packet(FAR struct socket *psock,
|
||||
/* Initialize the send state structure */
|
||||
|
||||
nxsem_init(&sinfo.s_waitsem, 0, 0);
|
||||
nxsem_set_protocol(&sinfo.s_waitsem, SEM_PRIO_NONE);
|
||||
|
||||
sinfo.s_conn = conn;
|
||||
sinfo.s_result = -EBUSY;
|
||||
|
||||
Reference in New Issue
Block a user