staging: r8188eu: convert DBG_88E call in core/rtw_cmd.c
authorPhillip Potter <phil@philpotter.co.uk>
Sat, 8 Jan 2022 00:55:49 +0000 (00:55 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 15:15:18 +0000 (16:15 +0100)
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>
drivers/staging/r8188eu/core/rtw_cmd.c

index 8bfb01c..712fd6e 100644 (file)
@@ -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 */