Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
return val;
}
-#define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]
-#define MACSTR "%02x:%02x:%02x:%02x:%02x:%02x"
-
#define STRUCT_PACKED __attribute__ ((packed))
#endif
irqL);
return -EINVAL;
}
- printk(KERN_INFO "r8712u: BSSID:" MACSTR "\n",
- MAC2STR(bssid));
+ printk(KERN_INFO "r8712u: BSSID:%pM\n", &bssid[0]);
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],