summaryrefslogtreecommitdiff
path: root/drivers/staging/r8188eu/core/rtw_cmd.c
diff options
context:
space:
mode:
authorPhillip Potter <phil@philpotter.co.uk>2022-01-08 00:55:49 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-25 16:15:18 +0100
commit198fae4213e219797d5e2c7832593b8b8cfb0049 (patch)
tree5a8d7e42e93dc1623ee08abf9535c9d9061d7928 /drivers/staging/r8188eu/core/rtw_cmd.c
parent6397fb278bd92cc60a19f9779061dc3f677dfdc2 (diff)
staging: r8188eu: convert DBG_88E call in core/rtw_cmd.c
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> Link: https://lore.kernel.org/r/20220108005550.26264-5-phil@philpotter.co.uk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/core/rtw_cmd.c')
-rw-r--r--drivers/staging/r8188eu/core/rtw_cmd.c4
1 files changed, 3 insertions, 1 deletions
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 */