AR_DEBUG_PRINTF(ATH_DEBUG_ERR, ("Invalid Target Type\n"));
return;
}
- printk(KERN_DEBUG "MAC from EEPROM %pM\n", &ptr_mac[0]);
+ printk(KERN_DEBUG "MAC from EEPROM %pM\n", ptr_mac);
/* create a random MAC in case we cannot read file from system */
ptr_mac[0] = 0;
}
A_RELEASE_FIRMWARE(softmac_entry);
}
- printk(KERN_DEBUG "MAC from %s %pM\n", source, &ptr_mac[0]);
+ printk(KERN_DEBUG "MAC from %s %pM\n", source, ptr_mac);
calculate_crc(ar->arTargetType, eeprom_data);
}
#endif /* SOFTMAC_FILE_USED */
AR_DEBUG_PRINTF(ATH_DEBUG_INFO,
("%s: inform bss with bssid %pM channel %d beaconInterval %d "
- "capability 0x%x\n", __func__, &mgmt->bssid[0],
+ "capability 0x%x\n", __func__, mgmt->bssid,
ibss_channel->hw_value, beaconInterval, capability));
bss = cfg80211_inform_bss_frame(ar->wdev->wiphy,
AR_DEBUG_PRINTF(ATH_DEBUG_INFO,
("%s: bssid %pM channel %d freq %d size %d\n", __func__,
- &mgmt->bssid[0], channel->hw_value, freq, size));
+ mgmt->bssid, channel->hw_value, freq, size));
cfg80211_inform_bss_frame(wiphy, channel, mgmt,
le16_to_cpu(size),
signal, GFP_KERNEL);
A_DPRINTF(DBG_WMI2, (DBGFMT "bssInfo event - ch %u, rssi %02x, "
"bssid \"%pM\"\n", DBGARG, bih->channel,
- (unsigned char) bih->rssi, i&bih->bssid[0]));
+ (unsigned char) bih->rssi, bih->bssid));
if(wps_enable && (bih->frameType == PROBERESP_FTYPE) ) {
wmi_node_return(wmip, bss);