diff options
-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: |