-+ if (!is_valid_ether_addr(ah->macaddr)) {
-+ DECLARE_MAC_BUF(macbuf);
-+
-+ DPRINTF(ah->ah_sc, ATH_DBG_EEPROM,
-+ "eeprom contains invalid mac address: %s\n",
-+ print_mac(macbuf, ah->macaddr));
++ if (!is_valid_ether_addr(common->macaddr)) {
++ ath_print(common, ATH_DBG_EEPROM,
++ "eeprom contains invalid mac address: %pM\n",
++ common->macaddr);