Networking: Fix a compilation error recently introduced into the raw packet logic

This commit is contained in:
Gregory Nutt 2015-02-11 09:30:30 -06:00
parent 1741b50111
commit 005643de2c
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ int psock_socket(int domain, int type, int protocol, FAR struct socket *psock)
#ifdef CONFIG_NET_PKT #ifdef CONFIG_NET_PKT
case SOCK_RAW: case SOCK_RAW:
{ {
ret = psock_pkt_alloc(FAR struct socket *psock) ret = psock_pkt_alloc(psock);
if (ret < 0) if (ret < 0)
{ {
/* Failed to reserve a connection structure */ /* Failed to reserve a connection structure */