staging: vt6656: mac.c remove DBG_PRT debug message.
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 26 May 2014 12:59:00 +0000 (13:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 May 2014 17:36:49 +0000 (10:36 -0700)
Replace with dev_dbg

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/mac.c

index 573ea4f9ca8b063b5b38e81a7b4f93ba45ae2fc9..9211ec1c5e2546ed03d76a8aa22cea1f4e731417 100644 (file)
@@ -37,9 +37,6 @@
 #include "80211hdr.h"
 #include "control.h"
 
-//static int          msglevel                =MSG_LEVEL_DEBUG;
-static int          msglevel                =MSG_LEVEL_INFO;
-
 /*
  * Description:
  *      Write MAC Multicast Address Mask
@@ -143,8 +140,7 @@ void MACvSetKeyEntry(struct vnt_private *priv, u16 key_ctl, u32 entry_idx,
 
        memcpy(set_key.key, key, WLAN_KEY_LEN_CCMP);
 
-       DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
-               "offset %d key ctl %d set key %24ph\n",
+       dev_dbg(&priv->usb->dev, "offset %d key ctl %d set key %24ph\n",
                                offset, key_ctl, (u8 *)&set_key);
 
        CONTROLnsRequestOut(priv, MESSAGE_TYPE_SETKEY, offset,