From: Malcolm Priestley Date: Mon, 26 May 2014 12:59:00 +0000 (+0100) Subject: staging: vt6656: mac.c remove DBG_PRT debug message. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=88a8926fba921f0d6bf0c513203f13874a8301e1;p=openwrt%2Fstaging%2Fblogic.git staging: vt6656: mac.c remove DBG_PRT debug message. Replace with dev_dbg Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- 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,