wireless: brcm80211: use %pM to print BSSID
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 12 Jul 2012 07:43:44 +0000 (10:43 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 12 Jul 2012 19:27:19 +0000 (15:27 -0400)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c

index c6a10caec79fb94f6d0b9630f29424ea66445828..28c5fbb4af267b59ef1c8bab67f2d4ac2d7e9485 100644 (file)
@@ -920,9 +920,7 @@ brcmf_cfg80211_join_ibss(struct wiphy *wiphy, struct net_device *ndev,
        set_bit(WL_STATUS_CONNECTING, &cfg_priv->status);
 
        if (params->bssid)
-               WL_CONN("BSSID: %02X %02X %02X %02X %02X %02X\n",
-               params->bssid[0], params->bssid[1], params->bssid[2],
-               params->bssid[3], params->bssid[4], params->bssid[5]);
+               WL_CONN("BSSID: %pM\n", params->bssid);
        else
                WL_CONN("No BSSID specified\n");