Skip to content

Commit

Permalink
Staging: w35und: Convert typedef RadioOff to struct radio_off
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 Mar 4, 2010
1 parent 1bc5e65 commit 92ce470
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/winbond/localpara.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,11 @@ typedef struct _CHAN_LIST
ChanInfo Channel[50]; // 100B
} CHAN_LIST, *psCHAN_LIST;

typedef struct _RadioOff
struct radio_off
{
u8 boHwRadioOff;
u8 boSwRadioOff;
} RadioOff, *psRadioOff;
};

//===========================================================================
struct wb_local_para
Expand Down Expand Up @@ -186,7 +186,7 @@ struct wb_local_para
u16 ListenInterval; // The listen interval when SME invoking MLME_
// (Re)Associate_Request().

RadioOff RadioOffStatus;
struct radio_off RadioOffStatus;
u8 Reserved0[2];

u8 boMsRadioOff; // Ndis demands to be true when set Disassoc. OID and be false when set SSID OID.
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/winbond/sme_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@ s8 sme_get_cwmin_value(void *pcore_data, u8 *cwmin);
s8 sme_get_cwmax_value(void *pcore_data, u16 *cwmax);
s8 sme_get_ms_radio_mode(void *pcore_data, u8 * pMsRadioOff);
s8 sme_set_ms_radio_mode(void *pcore_data, u8 boMsRadioOff);
s8 sme_get_radio_mode(void *pcore_data, psRadioOff pRadioOffData);
s8 sme_set_radio_mode(void *pcore_data, RadioOff RadioOffData);

void sme_get_tx_power_level(void *pcore_data, u32 *TxPower);
u8 sme_set_tx_power_level(void *pcore_data, u32 TxPower);
Expand Down

0 comments on commit 92ce470

Please sign in to comment.