[NET]: Introduce and use print_mac() and DECLARE_MAC_BUF()
[deliverable/linux.git] / drivers / net / wireless / rt2x00 / rt2400pci.c
index 38e2188937c5b46b6213f9d74bad8f773537fb14..398c20105c81ced74cc49992685ac1cbdb99f17b 100644 (file)
@@ -1362,8 +1362,10 @@ static int rt2400pci_validate_eeprom(struct rt2x00_dev *rt2x00dev)
         */
        mac = rt2x00_eeprom_addr(rt2x00dev, EEPROM_MAC_ADDR_0);
        if (!is_valid_ether_addr(mac)) {
+               DECLARE_MAC_BUF(macbuf);
+
                random_ether_addr(mac);
-               EEPROM(rt2x00dev, "MAC: " MAC_FMT "\n", MAC_ARG(mac));
+               EEPROM(rt2x00dev, "MAC: %s\n", print_mac(macbuf, mac));
        }
 
        rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &word);
This page took 0.024556 seconds and 5 git commands to generate.