Skip to content

Commit

Permalink
do not spam log
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Aug 21, 2023
1 parent 07f4cd8 commit 78d0c9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/rtw_xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -3108,7 +3108,7 @@ struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv)

if (_rtw_queue_empty(pfree_queue) == _TRUE) {
pxmitbuf = NULL;
RTW_WARN("OpenHD alloc rtw_alloc_xmitbuf_ext fail NR_XMIT_EXTBUFF:%d MAX_XMIT_EXTBUF_SZ:%d\n",NR_XMIT_EXTBUFF,MAX_XMIT_EXTBUF_SZ);
//RTW_WARN("OpenHD alloc rtw_alloc_xmitbuf_ext fail NR_XMIT_EXTBUFF:%d MAX_XMIT_EXTBUF_SZ:%d\n",NR_XMIT_EXTBUFF,MAX_XMIT_EXTBUF_SZ);
}else {

phead = get_list_head(pfree_queue);
Expand Down Expand Up @@ -3379,7 +3379,7 @@ struct xmit_frame *rtw_alloc_xmitframe_ext(struct xmit_priv *pxmitpriv)

if (_rtw_queue_empty(queue) == _TRUE) {
pxframe = NULL;
RTW_WARN("OpenHD alloc rtw_alloc_xmitframe_ext failed ");
//RTW_WARN("OpenHD alloc rtw_alloc_xmitframe_ext failed ");
} else {
phead = get_list_head(queue);
plist = get_next(phead);
Expand Down Expand Up @@ -4248,8 +4248,8 @@ static struct xmit_frame* monitor_alloc_mgtxmitframe(struct xmit_priv *pxmitpriv
if(pmgntframe != NULL)
return pmgntframe;
openhd_alloc_mgtxmitframe_error_count++;
RTW_WARN("OpenHD: alloc_mgtxmitframe failed, retries:%d, total error count %d:%d",
tries,openhd_alloc_mgtxmitframe_error_count,openhd_monitor_alloc_mgtxmitframe_error_count);
//RTW_WARN("OpenHD: alloc_mgtxmitframe failed, retries:%d, total error count %d:%d",
// tries,openhd_alloc_mgtxmitframe_error_count,openhd_monitor_alloc_mgtxmitframe_error_count);
rtw_udelay_os(delay);
delay += delay/2;
}
Expand Down

0 comments on commit 78d0c9e

Please sign in to comment.