staging/rtl8723au: Use %pM format specifier to print mac address

printk() supports %pM format specifier for printing 6-byte MAC/FDDI
addresses in hex notation small buffers, let's use it intead of %x:%x...

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Alexander Kuleshov 2015-08-27 19:09:27 +06:00 committed by Greg Kroah-Hartman
parent fec85e0afa
commit 0c74210509

View File

@ -5934,11 +5934,8 @@ int set_stakey_hdl23a(struct rtw_adapter *padapter, const u8 *pbuf)
macid = aid+1; */ macid = aid+1; */
cam_id = psta->mac_id + 3; cam_id = psta->mac_id + 3;
DBG_8723A("Write CAM, mac_addr =%x:%x:%x:%x:%x:%x, " DBG_8723A("Write CAM, mac_addr =%pM, "
"cam_entry =%d\n", pparm->addr[0], "cam_entry =%d\n", pparm->addr, cam_id);
pparm->addr[1], pparm->addr[2],
pparm->addr[3], pparm->addr[4],
pparm->addr[5], cam_id);
rtl8723a_cam_write(padapter, cam_id, ctrl, rtl8723a_cam_write(padapter, cam_id, ctrl,
pparm->addr, pparm->key); pparm->addr, pparm->key);