wl12xx: switch to %pM to print the mac address
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 16 Sep 2009 14:07:38 +0000 (14:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Sep 2009 03:51:24 +0000 (20:51 -0700)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/wl12xx/wl1271_main.c

index d9169b4..f6f8895 100644 (file)
@@ -644,11 +644,10 @@ static int wl1271_op_config_interface(struct ieee80211_hw *hw,
 {
        struct wl1271 *wl = hw->priv;
        struct sk_buff *beacon;
-       DECLARE_MAC_BUF(mac);
        int ret;
 
        wl1271_debug(DEBUG_MAC80211, "mac80211 config_interface bssid %s",
-                    print_mac(mac, conf->bssid));
+                    printf("%pM", conf->bssid);
        wl1271_dump_ascii(DEBUG_MAC80211, "ssid: ", conf->ssid,
                          conf->ssid_len);