staging: rtl8712: '&pointer[0]' to 'pointer' fix
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Fri, 17 Sep 2010 08:24:49 +0000 (11:24 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 23:10:56 +0000 (16:10 -0700)
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8712/rtl871x_ioctl_linux.c

index a54e25dc3fc163ab65668f8140d645b17d37ef20..685a7b112d4bf48e61bbdd49cbda26b1abee29f3 100644 (file)
@@ -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],