Commit 6756993b authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

r8192U_core.c: use %pM to shown MAC address

Trivial, use the %pM kernel extension to display the MAC address.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 820793c3
...@@ -3426,10 +3426,9 @@ rtl8192SU_ConfigAdapterInfo8192SForAutoLoadFail(struct net_device* dev) ...@@ -3426,10 +3426,9 @@ rtl8192SU_ConfigAdapterInfo8192SForAutoLoadFail(struct net_device* dev)
write_nic_dword(dev, IDR0, ((u32*)dev->dev_addr)[0]); write_nic_dword(dev, IDR0, ((u32*)dev->dev_addr)[0]);
write_nic_word(dev, IDR4, ((u16*)(dev->dev_addr + 4))[0]); write_nic_word(dev, IDR4, ((u16*)(dev->dev_addr + 4))[0]);
RT_TRACE(COMP_INIT, "ReadAdapterInfo8192SEFuse(), Permanent Address = %02x-%02x-%02x-%02x-%02x-%02x\n", RT_TRACE(COMP_INIT,
dev->dev_addr[0], dev->dev_addr[1], "ReadAdapterInfo8192SEFuse(), Permanent Address = %pM\n",
dev->dev_addr[2], dev->dev_addr[3], dev->dev_addr);
dev->dev_addr[4], dev->dev_addr[5]);
priv->EEPROMBoardType = EEPROM_Default_BoardType; priv->EEPROMBoardType = EEPROM_Default_BoardType;
priv->rf_type = RF_1T2R; //RF_2T2R priv->rf_type = RF_1T2R; //RF_2T2R
...@@ -3767,10 +3766,9 @@ rtl8192SU_ReadAdapterInfo8192SUsb(struct net_device* dev) ...@@ -3767,10 +3766,9 @@ rtl8192SU_ReadAdapterInfo8192SUsb(struct net_device* dev)
write_nic_dword(dev, IDR0, ((u32*)dev->dev_addr)[0]); write_nic_dword(dev, IDR0, ((u32*)dev->dev_addr)[0]);
write_nic_word(dev, IDR4, ((u16*)(dev->dev_addr + 4))[0]); write_nic_word(dev, IDR4, ((u16*)(dev->dev_addr + 4))[0]);
RT_TRACE(COMP_INIT, "ReadAdapterInfo8192SEFuse(), Permanent Address = %02x-%02x-%02x-%02x-%02x-%02x\n", RT_TRACE(COMP_INIT,
dev->dev_addr[0], dev->dev_addr[1], "ReadAdapterInfo8192SEFuse(), Permanent Address = %pM\n",
dev->dev_addr[2], dev->dev_addr[3], dev->dev_addr);
dev->dev_addr[4], dev->dev_addr[5]);
// //
// Get CustomerID(Boad Type) // Get CustomerID(Boad Type)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment