Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

wireless: ray_cs: use '%pm' format option to print MAC

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Andy Shevchenko and committed by
John W. Linville
78b85956 547025d5

+4 -10
+4 -10
drivers/net/wireless/ray_cs.c
··· 1776 1776 /* Copy the kernel's list of MC addresses to card */ 1777 1777 netdev_for_each_mc_addr(ha, dev) { 1778 1778 memcpy_toio(p, ha->addr, ETH_ALEN); 1779 - dev_dbg(&link->dev, 1780 - "ray_update_multi add addr %02x%02x%02x%02x%02x%02x\n", 1781 - ha->addr[0], ha->addr[1], 1782 - ha->addr[2], ha->addr[3], 1783 - ha->addr[4], ha->addr[5]); 1779 + dev_dbg(&link->dev, "ray_update_multi add addr %pm\n", 1780 + ha->addr); 1784 1781 p += ETH_ALEN; 1785 1782 i++; 1786 1783 } ··· 2012 2015 memcpy_fromio(&local->bss_id, 2013 2016 prcs->var.rejoin_net_complete. 2014 2017 bssid, ADDRLEN); 2015 - dev_dbg(&link->dev, 2016 - "ray_cs new BSSID = %02x%02x%02x%02x%02x%02x\n", 2017 - local->bss_id[0], local->bss_id[1], 2018 - local->bss_id[2], local->bss_id[3], 2019 - local->bss_id[4], local->bss_id[5]); 2018 + dev_dbg(&link->dev, "ray_cs new BSSID = %pm\n", 2019 + local->bss_id); 2020 2020 if (!sniffer) 2021 2021 authenticate(local); 2022 2022 }