[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1250064219-7372-6-git-send-email-penberg@cs.helsinki.fi>
Date: Wed, 12 Aug 2009 11:03:38 +0300
From: Pekka Enberg <penberg@...helsinki.fi>
To: gregkh@...e.de
Cc: linux-kernel@...r.kernel.org,
Pekka Enberg <penberg@...helsinki.fi>,
Pavel Machek <pavel@....cz>
Subject: [PATCH 6/7] w35und: Convert typedef MTO_PARAMETERS to struct wb35_mto_param
Cc: Pavel Machek <pavel@....cz>
Signed-off-by: Pekka Enberg <penberg@...helsinki.fi>
---
drivers/staging/winbond/core.h | 2 +-
drivers/staging/winbond/mto.h | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/winbond/core.h b/drivers/staging/winbond/core.h
index 42c9868..7d4bd5e 100644
--- a/drivers/staging/winbond/core.h
+++ b/drivers/staging/winbond/core.h
@@ -18,7 +18,7 @@ struct wbsoft_priv {
MLME_FRAME sMlmeFrame; // connect to peerSTA parameters
- MTO_PARAMETERS sMtoPara; // MTO_struct ...
+ struct wb35_mto_params sMtoPara; // MTO_struct ...
struct hw_data sHwData; //For HAL
struct wb35_mds Mds;
diff --git a/drivers/staging/winbond/mto.h b/drivers/staging/winbond/mto.h
index 5990ba3..e6d2ccb 100644
--- a/drivers/staging/winbond/mto.h
+++ b/drivers/staging/winbond/mto.h
@@ -50,8 +50,7 @@ typedef enum {
//
// Defines the parameters used in the MAC Throughput Optimization algorithm
//============================================================================
-typedef struct _MTO_PARAMETERS
-{
+struct wb35_mto_params {
u8 Th_Fixant;
u8 Th_Cnt;
u8 Th_SQ3;
@@ -130,7 +129,7 @@ typedef struct _MTO_PARAMETERS
s32 RSSI_high;
s32 RSSI_low;
-} MTO_PARAMETERS, *PMTO_PARAMETERS;
+};
#define MTO_DATA() (adapter->sMtoPara)
--
1.5.6.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists