staging: r8188eu: convert DBG_88E_LEVEL calls in os_dep/ioctl_linux.c
authorPhillip Potter <phil@philpotter.co.uk>
Mon, 29 Nov 2021 00:20:40 +0000 (00:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 14:13:50 +0000 (15:13 +0100)
Convert all DBG_88E_LEVEL macro calls in os_dep/ioctl_linux.c to plain
netdev_dbg calls, 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-7-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/os_dep/ioctl_linux.c

index a2c6934bb4ed3aa4f2aa24b53df83329da228313..56adfe4087a86c8a7b99905dbd3e2b4898ec1cb8 100644 (file)
@@ -60,7 +60,7 @@ void rtw_indicate_wx_assoc_event(struct adapter *padapter)
 
        memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN);
 
-       DBG_88E_LEVEL(_drv_always_, "assoc success\n");
+       netdev_dbg(padapter->pnetdev, "assoc success\n");
        wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL);
 }
 
@@ -73,7 +73,7 @@ void rtw_indicate_wx_disassoc_event(struct adapter *padapter)
        wrqu.ap_addr.sa_family = ARPHRD_ETHER;
        memset(wrqu.ap_addr.sa_data, 0, ETH_ALEN);
 
-       DBG_88E_LEVEL(_drv_always_, "indicate disassoc\n");
+       netdev_dbg(padapter->pnetdev, "indicate disassoc\n");
        wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL);
 }