From 88a8926fba921f0d6bf0c513203f13874a8301e1 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Mon, 26 May 2014 13:59:00 +0100 Subject: [PATCH] staging: vt6656: mac.c remove DBG_PRT debug message. Replace with dev_dbg Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/mac.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/staging/vt6656/mac.c b/drivers/staging/vt6656/mac.c index 573ea4f9ca8b..9211ec1c5e25 100644 --- a/drivers/staging/vt6656/mac.c +++ b/drivers/staging/vt6656/mac.c @@ -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, -- 2.30.2