summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2009-08-12 11:03:38 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:02:17 -0700
commita95c69cfe44d96489777f9eda8c2005963730bef (patch)
tree255110a775a2d0f5ac248c0317624145e736e8dc /drivers
parent58b32cba16ecf2ffeb28a87b20d0a83c6a8ff90a (diff)
Staging: w35und: Convert typedef MTO_PARAMETERS to struct wb35_mto_param
Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/winbond/core.h2
-rw-r--r--drivers/staging/winbond/mto.h5
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/winbond/core.h b/drivers/staging/winbond/core.h
index 42c986826f3e..7d4bd5e8f69b 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 5990ba35644d..e6d2ccb0a03d 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)