mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 05:22:19 -04:00
Staging: w35und: Convert typedef RadioOff to struct radio_off
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1bc5e65129
commit
92ce470392
@@ -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
|
||||
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user