提交 cfd1015a 编写于 作者: A Andy Shevchenko 提交者: Greg Kroah-Hartman

staging: otus: '&pointer[0]' to 'pointer' fix

Signed-off-by: NAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 a5ed57a3
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册