diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2010-09-17 11:24:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-20 16:10:56 -0700 |
commit | e7cde7b31271155e5fb896a325bea38e9e604806 (patch) | |
tree | 62187cee46b88c67d12e15d0202b8fd4351e5b57 /drivers/staging/vt6655 | |
parent | 97d2354518897cfc42740637e6390eaa23e3d206 (diff) | |
download | talos-op-linux-e7cde7b31271155e5fb896a325bea38e9e604806.tar.gz talos-op-linux-e7cde7b31271155e5fb896a325bea38e9e604806.zip |
staging: vt6655: '&pointer[0]' to 'pointer' fix
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 | 2 | ||||
-rw-r--r-- | drivers/staging/vt6655/vntwifi.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/iwctl.c b/drivers/staging/vt6655/iwctl.c index d74b7448b25b..92e33999054b 100644 --- a/drivers/staging/vt6655/iwctl.c +++ b/drivers/staging/vt6655/iwctl.c @@ -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", ¶m->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); diff --git a/drivers/staging/vt6655/vntwifi.c b/drivers/staging/vt6655/vntwifi.c index db9cbe9dfa6c..0491d0b52c85 100644 --- a/drivers/staging/vt6655/vntwifi.c +++ b/drivers/staging/vt6655/vntwifi.c @@ -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 |