diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2010-09-11 17:17:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-16 12:26:11 -0700 |
commit | 3c02dc22a2559f1eab7cb261d106bab9c5de7938 (patch) | |
tree | afa23ddf8d3998dfeb9cfec3145cdb0a5c28cdd1 /drivers/staging/vt6655 | |
parent | ce3d824031d28fbb9d6110e22f560f0344f639d3 (diff) |
staging: vt6655: use '%pM' format to print MAC address
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r-- | drivers/staging/vt6655/iwctl.c | 4 | ||||
-rw-r--r-- | drivers/staging/vt6655/vntwifi.c | 7 |
2 files changed, 4 insertions, 7 deletions
diff --git a/drivers/staging/vt6655/iwctl.c b/drivers/staging/vt6655/iwctl.c index 4009c0b5bb2..d74b7448b25 100644 --- a/drivers/staging/vt6655/iwctl.c +++ b/drivers/staging/vt6655/iwctl.c @@ -2018,9 +2018,7 @@ param->u.wpa_key.seq_len = seq_len; #if 0 printk("param->u.wpa_key.alg_name =%d\n",param->u.wpa_key.alg_name); -printk("param->addr=%02x:%02x:%02x:%02x:%02x:%02x\n", - param->addr[0],param->addr[1],param->addr[2], - param->addr[3],param->addr[4],param->addr[5]); +printk(KERN_DEBUG "param->addr=%pM\n", ¶m->addr[0]); printk("param->u.wpa_key.set_tx =%d\n",param->u.wpa_key.set_tx); printk("param->u.wpa_key.key_index =%d\n",param->u.wpa_key.key_index); printk("param->u.wpa_key.key_len =%d\n",param->u.wpa_key.key_len); diff --git a/drivers/staging/vt6655/vntwifi.c b/drivers/staging/vt6655/vntwifi.c index fcf26ab920d..db9cbe9dfa6 100644 --- a/drivers/staging/vt6655/vntwifi.c +++ b/drivers/staging/vt6655/vntwifi.c @@ -565,10 +565,9 @@ VNTWIFIvGetTxRate( wTxDataRate = (pMgmt->sNodeDBTable[0].wTxDataRate); #ifdef PLICE_DEBUG - printk("GetTxRate:AP MAC is %02x:%02x:%02x:%02x:%02x:%02x,TxRate is %d\n", - pMgmt->sNodeDBTable[0].abyMACAddr[0],pMgmt->sNodeDBTable[0].abyMACAddr[1], - pMgmt->sNodeDBTable[0].abyMACAddr[2],pMgmt->sNodeDBTable[0].abyMACAddr[3], - pMgmt->sNodeDBTable[0].abyMACAddr[4],pMgmt->sNodeDBTable[0].abyMACAddr[5],wTxDataRate); + printk(KERN_DEBUG "GetTxRate:AP MAC is %pM,TxRate is %d\n", + &pMgmt->sNodeDBTable[0].abyMACAddr[0], + wTxDataRate); #endif |