]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/staging/vt6655/ioctl.c
staging: vt6655: print small buffers with %*ph
[karo-tx-linux.git] / 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);