Skip to content

Commit

Permalink
Staging: w35und: Convert typedef MTO_PARAMETERS to struct wb35_mto_param
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pekka Enberg authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 58b32cb commit a95c69c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/winbond/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
5 changes: 2 additions & 3 deletions drivers/staging/winbond/mto.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -130,7 +129,7 @@ typedef struct _MTO_PARAMETERS
s32 RSSI_high;
s32 RSSI_low;

} MTO_PARAMETERS, *PMTO_PARAMETERS;
};


#define MTO_DATA() (adapter->sMtoPara)
Expand Down

0 comments on commit a95c69c

Please sign in to comment.