diff options
author | Andy Shevchenko | 2010-09-17 10:24:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-09-21 01:10:56 +0200 |
commit | cfd1015a7a6236f4fdc0f8f9f688e38e78ae6d10 (patch) | |
tree | b60946ad713b425bb7a2b5e46dcce9fa3115e1f5 /drivers/staging | |
parent | staging: rtl8712: '&pointer[0]' to 'pointer' fix (diff) | |
download | kernel-qcow2-linux-cfd1015a7a6236f4fdc0f8f9f688e38e78ae6d10.tar.gz kernel-qcow2-linux-cfd1015a7a6236f4fdc0f8f9f688e38e78ae6d10.tar.xz kernel-qcow2-linux-cfd1015a7a6236f4fdc0f8f9f688e38e78ae6d10.zip |
staging: otus: '&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')
-rw-r--r-- | drivers/staging/otus/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/otus/ioctl.c b/drivers/staging/otus/ioctl.c index 405bd2901859..a403d9ccd5e8 100644 --- 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: |