From patchwork Mon Jan 24 18:45:23 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: 501721 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 p0OJh2ZL026265 for ; Mon, 24 Jan 2011 19:48:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753823Ab1AXSpB (ORCPT ); Mon, 24 Jan 2011 13:45:01 -0500 Received: from mail-yw0-f46.google.com ([209.85.213.46]:58065 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753562Ab1AXSo7 (ORCPT ); Mon, 24 Jan 2011 13:44:59 -0500 Received: by ywe10 with SMTP id 10so1008480ywe.19 for ; Mon, 24 Jan 2011 10:44:58 -0800 (PST) Received: by 10.151.155.6 with SMTP id h6mr4864694ybo.0.1295894698434; Mon, 24 Jan 2011 10:44:58 -0800 (PST) Received: from localhost.localdomain ([201.82.21.177]) by mx.google.com with ESMTPS id w24sm3121653ybk.9.2011.01.24.10.44.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 24 Jan 2011 10:44:57 -0800 (PST) From: "Gustavo F. Padovan" To: brudley@broadcom.com, henryp@broadcom.com, dowan@broadcom.com, vossen@broadcom.com, arend@broadcom.com Cc: linux-wireless@vger.kernel.org Subject: [PATCH] brcm80211: fix error report string Date: Mon, 24 Jan 2011 16:45:23 -0200 Message-Id: <1295894723-28346-1-git-send-email-padovan@profusion.mobi> X-Mailer: git-send-email 1.7.4.rc2 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 19:48:21 +0000 (UTC) diff --git a/drivers/staging/brcm80211/sys/wlc_mac80211.c b/drivers/staging/brcm80211/sys/wlc_mac80211.c index 5eb41d6..ee1bcc5 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;