projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5ed57a
)
staging: otus: '&pointer[0]' to 'pointer' fix
author
Andy Shevchenko
<andy.shevchenko@gmail.com>
Fri, 17 Sep 2010 08:24:47 +0000
(11:24 +0300)
committer
Greg 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/otus/ioctl.c
patch
|
blob
|
history
diff --git
a/drivers/staging/otus/ioctl.c
b/drivers/staging/otus/ioctl.c
index 405bd2901859095c3b8d553b6a82cf1ec133a871..a403d9ccd5e8ccf75028ef0e21c87cbc20c11c54 100644
(file)
--- a/
drivers/staging/otus/ioctl.c
+++ b/
drivers/staging/otus/ioctl.c
@@
-2188,7
+2188,7
@@
int usbdrv_wpa_ioctl(struct net_device *dev, struct athr_wlan_param *zdparm)
printk(KERN_ERR "usbdrv_wpa_ioctl: ZD_CMD_SET_MLME\n");
/* Translate STA's address */
- sprintf(mac_addr, "%pM",
&zdparm->sta_addr[0]
);
+ sprintf(mac_addr, "%pM",
zdparm->sta_addr
);
switch (zdparm->u.mlme.cmd) {
case MLME_STA_DEAUTH: