From patchwork Wed Jan 19 22:35:28 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonas Gorski X-Patchwork-Id: 490581 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 p0JMZMqC017211 for ; Wed, 19 Jan 2011 22:35:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755086Ab1ASWfQ (ORCPT ); Wed, 19 Jan 2011 17:35:16 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:57039 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755025Ab1ASWfP (ORCPT ); Wed, 19 Jan 2011 17:35:15 -0500 Received: by mail-fx0-f46.google.com with SMTP id 20so1417828fxm.19 for ; Wed, 19 Jan 2011 14:35:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=4oL5Li7/vm7pHjI4VuvZ/7ewefN4Vp1kviD3Uf3uAo4=; b=E7K4jAH5HYvTwFPBakyTHEnnRpPLzlW9csEJTD+gE5nPljWmFhaRF3WBp0fAmmWYHK cxsPhblZeaoqLjELN+nfGA3hhL8nTMq0PJykgaKDEboTN608LdHv1TG07EexWNIhnw/E C25+V///vfu3K5ne1bq/Q0l9fONRCe3VBHbqY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=rWNXUnxkQGC5WGpJxjJAh4Ii/VF6a/GIgiJPSYYpkccVq/LfXwsI5q7tYmC8bNgwhK 6Zc/uN/T8EGYAISIs2RXKsD0i7tQ/zS5FSdH8Uo/WbF6Y7DkeIaDbYfvf0VAINgf/dt9 z6vVfl5UGXuYty/XvTPJxcsm3yfAQZNFbL5wA= Received: by 10.223.79.72 with SMTP id o8mr1349267fak.19.1295476492182; Wed, 19 Jan 2011 14:34:52 -0800 (PST) Received: from localhost.localdomain (dslb-088-073-145-019.pools.arcor-ip.net [88.73.145.19]) by mx.google.com with ESMTPS id n3sm2885772faa.5.2011.01.19.14.34.50 (version=SSLv3 cipher=RC4-MD5); Wed, 19 Jan 2011 14:34:51 -0800 (PST) From: Jonas Gorski To: linux-wireless@vger.kernel.org Cc: Brett Rudley , Henry Ptasinski , Dowan Kim , Roland Vossen , Arend van Spriel Subject: [RFT 4/8] staging: brcm80211: Remove ETHER_MAX_LEN definition. Date: Wed, 19 Jan 2011 23:35:28 +0100 Message-Id: <1295476532-21130-5-git-send-email-jonas.gorski@gmail.com> X-Mailer: git-send-email 1.5.6.5 In-Reply-To: <1295476532-21130-4-git-send-email-jonas.gorski@gmail.com> References: <1295476532-21130-1-git-send-email-jonas.gorski@gmail.com> <1295476532-21130-2-git-send-email-jonas.gorski@gmail.com> <1295476532-21130-3-git-send-email-jonas.gorski@gmail.com> <1295476532-21130-4-git-send-email-jonas.gorski@gmail.com> 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]); Wed, 19 Jan 2011 22:35:22 +0000 (UTC) diff --git a/drivers/staging/brcm80211/include/bcmcdc.h b/drivers/staging/brcm80211/include/bcmcdc.h index 10c1ddc..e56470e 100644 --- a/drivers/staging/brcm80211/include/bcmcdc.h +++ b/drivers/staging/brcm80211/include/bcmcdc.h @@ -13,7 +13,6 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include typedef struct cdc_ioctl { u32 cmd; /* ioctl command value */ @@ -24,7 +23,7 @@ typedef struct cdc_ioctl { } cdc_ioctl_t; /* Max valid buffer size that can be sent to the dongle */ -#define CDC_MAX_MSG_SIZE ETHER_MAX_LEN +#define CDC_MAX_MSG_SIZE 1518 /* len field is divided into input and output buffer lengths */ #define CDCL_IOC_OUTLEN_MASK 0x0000FFFF /* maximum or expected diff --git a/drivers/staging/brcm80211/include/proto/ethernet.h b/drivers/staging/brcm80211/include/proto/ethernet.h index 1176df9..bc99842 100644 --- a/drivers/staging/brcm80211/include/proto/ethernet.h +++ b/drivers/staging/brcm80211/include/proto/ethernet.h @@ -21,8 +21,6 @@ #include -#define ETHER_MAX_LEN 1518 - #define ETHER_TYPE_BRCM 0x886c BWL_PRE_PACKED_STRUCT struct ether_addr {