Messages in this thread Patch in this message | | | From | Phillip Potter <> | Subject | [PATCH 4/5] staging: r8188eu: convert DBG_88E call in core/rtw_cmd.c | Date | Sat, 8 Jan 2022 00:55:49 +0000 |
| |
Convert the DBG_88E macro call in core/rtw_cmd.c to use netdev_dbg as its information may be useful to observers, and this gets the driver closer to the point of being able to remove DBG_88E itself.
Signed-off-by: Phillip Potter <phil@philpotter.co.uk> --- drivers/staging/r8188eu/core/rtw_cmd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/r8188eu/core/rtw_cmd.c b/drivers/staging/r8188eu/core/rtw_cmd.c index 8bfb01c2ebb5..712fd6e536c4 100644 --- a/drivers/staging/r8188eu/core/rtw_cmd.c +++ b/drivers/staging/r8188eu/core/rtw_cmd.c @@ -952,7 +952,9 @@ static void rtl8188e_sreset_xmit_status_check(struct adapter *padapter) txdma_status = rtw_read32(padapter, REG_TXDMA_STATUS); if (txdma_status != 0x00) { - DBG_88E("%s REG_TXDMA_STATUS:0x%08x\n", __func__, txdma_status); + netdev_dbg(padapter->pnetdev, + "REG_TXDMA_STATUS: 0x%08x\n", + txdma_status); rtw_write32(padapter, REG_TXDMA_STATUS, txdma_status); } /* total xmit irp = 4 */ -- 2.33.1
| |