iwlwifi: use %pM for formatted MAC addresses

User-visible messages should use formatted MAC addresses ("00:01:...")
rather than raw ("0001...") so they match other parts of the system.

Signed-off-by: Bjorn Helgaas <[email protected]>
CC: [email protected]
CC: [email protected]
Acked-by: Reinette Chatre <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
Bjorn Helgaas 2009-10-05 11:37:01 -06:00 • committed by John W. Linville
commit 0358bc293e

View file

@ -702,7 +702,7 @@ static void rs_get_rate(void *priv_r, struct ieee80211_sta *sta,
u8 sta_id = iwl_find_station(priv, hdr->addr1);
if (sta_id == IWL_INVALID_STATION) {
IWL_DEBUG_RATE(priv, "LQ: ADD station %pm\n",
IWL_DEBUG_RATE(priv, "LQ: ADD station %pM\n",
hdr->addr1);
sta_id = iwl_add_station(priv, hdr->addr1, false,
CMD_ASYNC, NULL);