staging: rtl8712: '&pointer[0]' to 'pointer' fix
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
db5c53d15b
commit
a5ed57a3ec
@ -1917,7 +1917,7 @@ static int r871x_get_ap_info(struct net_device *dev,
|
||||
irqL);
|
||||
return -EINVAL;
|
||||
}
|
||||
printk(KERN_INFO "r8712u: BSSID:%pM\n", &bssid[0]);
|
||||
printk(KERN_INFO "r8712u: BSSID:%pM\n", bssid);
|
||||
if (!memcmp(bssid, pnetwork->network.MacAddress, ETH_ALEN)) {
|
||||
/* BSSID match, then check if supporting wpa/wpa2 */
|
||||
pbuf = r8712_get_wpa_ie(&pnetwork->network.IEs[12],
|
||||
|
Loading…
Reference in New Issue
Block a user