staging: vt6655: '&pointer[0]' to 'pointer' fix
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Fri, 17 Sep 2010 08:24:50 +0000 (11:24 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 23:10:56 +0000 (16:10 -0700)
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vt6655/iwctl.c
drivers/staging/vt6655/vntwifi.c

index d74b7448b25bef71047201bb78c1d7a2add8fb3c..92e33999054bd2a6296ae3b1b3f1adf4f43a49cd 100644 (file)
@@ -2018,7 +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(KERN_DEBUG "param->addr=%pM\n", &param->addr[0]);
+printk(KERN_DEBUG "param->addr=%pM\n", param->addr);
 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);
index db9cbe9dfa6ca087e66d7cad49216231f62fc809..0491d0b52c854ad7ee99cfa398fe584a16d3ee93 100644 (file)
@@ -566,8 +566,7 @@ VNTWIFIvGetTxRate(
                wTxDataRate = (pMgmt->sNodeDBTable[0].wTxDataRate);
 #ifdef PLICE_DEBUG
                printk(KERN_DEBUG "GetTxRate:AP MAC is %pM,TxRate is %d\n",
-                               &pMgmt->sNodeDBTable[0].abyMACAddr[0],
-                               wTxDataRate);
+                               pMgmt->sNodeDBTable[0].abyMACAddr, wTxDataRate);
 #endif