Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753281AbaGBKSZ (ORCPT ); Wed, 2 Jul 2014 06:18:25 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:54593 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753119AbaGBKSV (ORCPT ); Wed, 2 Jul 2014 06:18:21 -0400 X-Sasl-enc: u9W0CL2UAUJ7cTwKJqThFOCq6d3Fv+OYbyYEBBqUPLvJ 1404296299 From: Michalis Pappas To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH V2] staging: gdm72xx: move T_CAPABILITY definitions to hci.h Date: Wed, 2 Jul 2014 11:18:07 +0100 Message-Id: <1404296287-3970-1-git-send-email-mpappas@fastmail.fm> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1404219616-1788-3-git-send-email-mpappas@fastmail.fm> References: <1404219616-1788-3-git-send-email-mpappas@fastmail.fm> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Michalis Pappas --- drivers/staging/gdm72xx/gdm_wimax.c | 11 ++++------- drivers/staging/gdm72xx/hci.h | 6 ++++++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/staging/gdm72xx/gdm_wimax.c b/drivers/staging/gdm72xx/gdm_wimax.c index 4148013..50b7bf0 100644 --- a/drivers/staging/gdm72xx/gdm_wimax.c +++ b/drivers/staging/gdm72xx/gdm_wimax.c @@ -609,10 +609,7 @@ static void gdm_wimax_prepare_device(struct net_device *dev) u16 len = 0; u32 val = 0; - #define BIT_MULTI_CS 0 - #define BIT_WIMAX 1 - #define BIT_QOS 2 - #define BIT_AGGREGATION 3 + /* GetInformation mac address */ len = 0; @@ -621,12 +618,12 @@ static void gdm_wimax_prepare_device(struct net_device *dev) hci->length = H2B(len); gdm_wimax_send(nic, hci, HCI_HEADER_SIZE+len); - val = (1<