]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: vt6655: print small buffers with %*ph
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 2 Aug 2012 16:05:49 +0000 (19:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Aug 2012 02:10:12 +0000 (19:10 -0700)
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>
drivers/staging/vt6655/ioctl.c

index ef197efab049de3f87dc34fb42a0d4432e521222..ac15d381c33c68e2836fcad347b2bfe7e169fa9b 100644 (file)
@@ -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);