This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 266774939f429c86d3750c267c1f6a2f381c040d Author: chao an <anc...@xiaomi.com> AuthorDate: Wed Mar 22 20:17:21 2023 +0800 wireless/bcm43xxx: downgrade log level of allocate frame fail Signed-off-by: chao an <anc...@xiaomi.com> --- drivers/wireless/ieee80211/bcm43xxx/bcmf_interface.c | 2 +- drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c | 2 +- drivers/wireless/ieee80211/bcm43xxx/bcmf_sdpcm.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_interface.c b/drivers/wireless/ieee80211/bcm43xxx/bcmf_interface.c index 045295044b..7cc7add253 100644 --- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_interface.c +++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_interface.c @@ -125,7 +125,7 @@ bcmf_interface_frame_t if (!block) { - wlwarn("No avail buffer\n"); + wlinfo("No avail buffer\n"); return NULL; } } diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c b/drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c index f061ff09dd..c799865a83 100644 --- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c +++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c @@ -155,7 +155,7 @@ int bcmf_netdev_alloc_tx_frame(FAR struct bcmf_dev_s *priv) MAX_NETDEV_PKTSIZE, false); if (!priv->cur_tx_frame) { - wlerr("ERROR: Cannot allocate TX frame\n"); + wlinfo("INFO: Cannot allocate TX frame\n"); return -ENOMEM; } diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdpcm.c b/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdpcm.c index 6e9f000997..a2bb2b2991 100644 --- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdpcm.c +++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdpcm.c @@ -372,7 +372,7 @@ int bcmf_sdpcm_sendframe(FAR struct bcmf_dev_s *priv) { /* TODO handle this case */ - wlerr("No credit to send frame\n"); + wlwarn("No credit to send frame\n"); return -EAGAIN; }