staging: r8188eu: convert DBG_88E_LEVEL call in core/rtw_xmit.c
authorPhillip Potter <phil@philpotter.co.uk>
Mon, 29 Nov 2021 00:20:37 +0000 (00:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 14:13:50 +0000 (15:13 +0100)
Convert single DBG_88E_LEVEL macro call in core/rtw_xmit.c to plain
netdev_dbg call, as although the information is potentially useful,
we should be exposing it using standard kernel debugging functionality.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20211129002041.865-4-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_xmit.c

index 0c033a077bf925e505a0c3c50eaf23a7c7c280e4..8503059edc46bfd0f5ad097c517d85bcd13845da 100644 (file)
@@ -461,7 +461,7 @@ static s32 update_attrib(struct adapter *padapter, struct sk_buff *pkt, struct p
                        }
                }
        } else if (0x888e == pattrib->ether_type) {
-               DBG_88E_LEVEL(_drv_info_, "send eapol packet\n");
+               netdev_dbg(padapter->pnetdev, "send eapol packet\n");
        }
 
        if ((pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1))