diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500usb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c index d3bf7bba611a..d19bee43861d 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.c +++ b/drivers/net/wireless/rt2x00/rt2500usb.c | |||
@@ -1319,10 +1319,8 @@ static int rt2500usb_validate_eeprom(struct rt2x00_dev *rt2x00dev) | |||
1319 | */ | 1319 | */ |
1320 | mac = rt2x00_eeprom_addr(rt2x00dev, EEPROM_MAC_ADDR_0); | 1320 | mac = rt2x00_eeprom_addr(rt2x00dev, EEPROM_MAC_ADDR_0); |
1321 | if (!is_valid_ether_addr(mac)) { | 1321 | if (!is_valid_ether_addr(mac)) { |
1322 | DECLARE_MAC_BUF(macbuf); | ||
1323 | |||
1324 | random_ether_addr(mac); | 1322 | random_ether_addr(mac); |
1325 | EEPROM(rt2x00dev, "MAC: %s\n", print_mac(macbuf, mac)); | 1323 | EEPROM(rt2x00dev, "MAC: %pM\n", mac); |
1326 | } | 1324 | } |
1327 | 1325 | ||
1328 | rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &word); | 1326 | rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &word); |