diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500pci.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c index ef42cc04a2d7..8b772ab613e4 100644 --- a/drivers/net/wireless/rt2x00/rt2500pci.c +++ b/drivers/net/wireless/rt2x00/rt2500pci.c | |||
@@ -1451,11 +1451,8 @@ static int rt2500pci_validate_eeprom(struct rt2x00_dev *rt2x00dev) | |||
1451 | */ | 1451 | */ |
1452 | mac = rt2x00_eeprom_addr(rt2x00dev, EEPROM_MAC_ADDR_0); | 1452 | mac = rt2x00_eeprom_addr(rt2x00dev, EEPROM_MAC_ADDR_0); |
1453 | if (!is_valid_ether_addr(mac)) { | 1453 | if (!is_valid_ether_addr(mac)) { |
1454 | DECLARE_MAC_BUF(macbuf); | ||
1455 | |||
1456 | random_ether_addr(mac); | 1454 | random_ether_addr(mac); |
1457 | EEPROM(rt2x00dev, "MAC: %s\n", | 1455 | EEPROM(rt2x00dev, "MAC: %pM\n", mac); |
1458 | print_mac(macbuf, mac)); | ||
1459 | } | 1456 | } |
1460 | 1457 | ||
1461 | rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &word); | 1458 | rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &word); |