Signed-off-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx> --- 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 405bd29..a403d9c 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: -- 1.7.2.2 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel