iwlwifi: use %pM for formatted MAC addresses
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 5 Oct 2009 17:37:01 +0000 (11:37 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Oct 2009 20:33:51 +0000 (16:33 -0400)
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 <bjorn.helgaas@hp.com>
CC: ilw@linux.intel.com
CC: linux-wireless@vger.kernel.org
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945-rs.c

index a16bd4147eac7898fa222b318c78e3525dad6396..cbb0585083a9cbfbbf838889c4b74dea67f684c3 100644 (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);