mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
wireless/bcm43xxx: downgrade log level of allocate frame fail
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
4e3480554d
commit
266774939f
@@ -125,7 +125,7 @@ bcmf_interface_frame_t
|
|||||||
|
|
||||||
if (!block)
|
if (!block)
|
||||||
{
|
{
|
||||||
wlwarn("No avail buffer\n");
|
wlinfo("No avail buffer\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ int bcmf_netdev_alloc_tx_frame(FAR struct bcmf_dev_s *priv)
|
|||||||
MAX_NETDEV_PKTSIZE, false);
|
MAX_NETDEV_PKTSIZE, false);
|
||||||
if (!priv->cur_tx_frame)
|
if (!priv->cur_tx_frame)
|
||||||
{
|
{
|
||||||
wlerr("ERROR: Cannot allocate TX frame\n");
|
wlinfo("INFO: Cannot allocate TX frame\n");
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -372,7 +372,7 @@ int bcmf_sdpcm_sendframe(FAR struct bcmf_dev_s *priv)
|
|||||||
{
|
{
|
||||||
/* TODO handle this case */
|
/* TODO handle this case */
|
||||||
|
|
||||||
wlerr("No credit to send frame\n");
|
wlwarn("No credit to send frame\n");
|
||||||
return -EAGAIN;
|
return -EAGAIN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user