From patchwork Thu Jul 12 07:43:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 1187471 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 5C1E0E0038 for ; Thu, 12 Jul 2012 07:44:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757147Ab2GLHoJ (ORCPT ); Thu, 12 Jul 2012 03:44:09 -0400 Received: from mga14.intel.com ([143.182.124.37]:33420 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757378Ab2GLHoI (ORCPT ); Thu, 12 Jul 2012 03:44:08 -0400 Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga102.ch.intel.com with ESMTP; 12 Jul 2012 00:44:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="121479738" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.164]) by AZSMGA002.ch.intel.com with ESMTP; 12 Jul 2012 00:44:04 -0700 Received: from andy by smile with local (Exim 4.80) (envelope-from ) id 1SpE3u-0004ud-B2; Thu, 12 Jul 2012 10:43:46 +0300 From: Andy Shevchenko To: linux-wireless@vger.kernel.org, brcm80211-dev-list@broadcom.com, "John W. Linville" , Arend van Spriel Cc: Andy Shevchenko Subject: [PATCH] wireless: brcm80211: use %pM to print BSSID Date: Thu, 12 Jul 2012 10:43:44 +0300 Message-Id: <1342079024-18851-1-git-send-email-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 1.7.10.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Signed-off-by: Andy Shevchenko Acked-by: Arend van Spriel --- drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c index d13ae9c..e3c0446 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c @@ -919,9 +919,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");