From: Andy Shevchenko Date: Fri, 17 Sep 2010 08:24:47 +0000 (+0300) Subject: staging: otus: '&pointer[0]' to 'pointer' fix X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cfd1015a7a6236f4fdc0f8f9f688e38e78ae6d10;p=openwrt%2Fstaging%2Fblogic.git staging: otus: '&pointer[0]' to 'pointer' fix Signed-off-by: Andy Shevchenko Signed-off-by: Greg Kroah-Hartman --- 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: