Skip to content

Commit

Permalink
staging: otus: '&pointer[0]' to 'pointer' fix
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Andy Shevchenko authored and Greg Kroah-Hartman committed Sep 20, 2010
1 parent a5ed57a commit cfd1015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/otus/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cfd1015

Please sign in to comment.