From patchwork Mon Jan 24 21:35:46 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gustavo F. Padovan" X-Patchwork-Id: 503011 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0OLZEs4023519 for ; Mon, 24 Jan 2011 21:35:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751107Ab1AXVfM (ORCPT ); Mon, 24 Jan 2011 16:35:12 -0500 Received: from mail-gw0-f46.google.com ([74.125.83.46]:43344 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750831Ab1AXVfL (ORCPT ); Mon, 24 Jan 2011 16:35:11 -0500 Received: by gwj20 with SMTP id 20so1444370gwj.19 for ; Mon, 24 Jan 2011 13:35:11 -0800 (PST) Received: by 10.90.51.9 with SMTP id y9mr5657306agy.124.1295904911032; Mon, 24 Jan 2011 13:35:11 -0800 (PST) Received: from localhost.localdomain ([201.82.21.177]) by mx.google.com with ESMTPS id c34sm16753854anc.30.2011.01.24.13.35.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 24 Jan 2011 13:35:10 -0800 (PST) From: "Gustavo F. Padovan" To: brudley@broadcom.com, henryp@broadcom.com, dowan@broadcom.com, rvossen@broadcom.com, arend@broadcom.com Cc: linux-wireless@vger.kernel.org Subject: [PATCH] brcm80211: fix error report string Date: Mon, 24 Jan 2011 19:35:46 -0200 Message-Id: <1295904946-11983-1-git-send-email-padovan@profusion.mobi> X-Mailer: git-send-email 1.7.4.rc2 In-Reply-To: References: Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 24 Jan 2011 21:35:14 +0000 (UTC) diff --git a/drivers/staging/brcm80211/sys/wlc_mac80211.c b/drivers/staging/brcm80211/sys/wlc_mac80211.c index 5eb41d6..a23dc5c 100644 --- a/drivers/staging/brcm80211/sys/wlc_mac80211.c +++ b/drivers/staging/brcm80211/sys/wlc_mac80211.c @@ -6910,7 +6910,7 @@ prep_mac80211_status(struct wlc_info *wlc, d11rxhdr_t *rxh, struct sk_buff *p, preamble = 0; if (IS_CCK(rspec)) { if (rxh->PhyRxStatus_0 & PRXS0_SHORTH) - WL_ERROR("Short CCK\n"); + WL_ERROR("%s: Short CCK\n", __func__); rx_status->flag |= RX_FLAG_SHORTPRE; } else if (IS_OFDM(rspec)) { rx_status->flag |= RX_FLAG_SHORTPRE;