wireless/bcm43xxx: downgrade log level of allocate frame fail

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an
2023-03-22 20:17:21 +08:00
committed by Alan Carvalho de Assis
parent 4e3480554d
commit 266774939f
3 changed files with 3 additions and 3 deletions
@@ -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;
} }