staging: vt6656: wcmd replace debug message with dev_dbg
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 12 Jul 2014 06:53:48 +0000 (07:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 20:20:14 +0000 (13:20 -0700)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/wcmd.c

index 9130f146e11216cdd08208a27d2beae197e593db..ade0f8117af771d5e7e742e47f81d38d92cd6eed 100644 (file)
@@ -49,9 +49,6 @@
 #include "rf.h"
 #include "channel.h"
 
-static int msglevel = MSG_LEVEL_INFO;
-//static int msglevel = MSG_LEVEL_DEBUG;
-
 static int s_bCommandComplete(struct vnt_private *);
 
 static void vCommandTimerWait(struct vnt_private *priv, unsigned long msecs)
@@ -108,8 +105,8 @@ void vRunCommand(struct work_struct *work)
                break;
 
        case WLAN_CMD_CHANGE_ANTENNA_START:
-               DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
-                       "Change from Antenna%d to", (int)priv->dwRxAntennaSel);
+               dev_dbg(&priv->usb->dev, "Change from Antenna%d to",
+                                                       priv->dwRxAntennaSel);
 
                if (priv->dwRxAntennaSel == 0) {
                        priv->dwRxAntennaSel = 1;