summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655
diff options
context:
space:
mode:
authorAndy Shevchenko2012-08-02 18:05:49 +0200
committerGreg Kroah-Hartman2012-08-14 04:10:12 +0200
commita13aa83c6ba1f2ec9586ed851a7b66764674197e (patch)
tree9e2d95620c23520eb3047f25d1651614bd2fc442 /drivers/staging/vt6655
parentstaging: vt6656: print small buffers with %*ph (diff)
downloadkernel-qcow2-linux-a13aa83c6ba1f2ec9586ed851a7b66764674197e.tar.gz
kernel-qcow2-linux-a13aa83c6ba1f2ec9586ed851a7b66764674197e.tar.xz
kernel-qcow2-linux-a13aa83c6ba1f2ec9586ed851a7b66764674197e.zip
staging: vt6655: print small buffers with %*ph
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r--drivers/staging/vt6655/ioctl.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/staging/vt6655/ioctl.c b/drivers/staging/vt6655/ioctl.c
index ef197efab049..ac15d381c33c 100644
--- a/drivers/staging/vt6655/ioctl.c
+++ b/drivers/staging/vt6655/ioctl.c
@@ -539,11 +539,8 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq)
pMgmt->abyIBSSSuppRates[3] |= BIT7;
}
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Support Rate= %x %x %x %x\n",
- pMgmt->abyIBSSSuppRates[2],
- pMgmt->abyIBSSSuppRates[3],
- pMgmt->abyIBSSSuppRates[4],
- pMgmt->abyIBSSSuppRates[5]);
+ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Support Rate= %*ph\n",
+ 4, pMgmt->abyIBSSSuppRates + 2);
netif_stop_queue(pDevice->dev);
spin_lock_irq(&pDevice->lock);