]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commitdiff
Staging: w35und: Convert typedef RadioOff to struct radio_off
authorPekka Enberg <penberg@cs.helsinki.fi>
Fri, 18 Dec 2009 21:08:16 +0000 (23:08 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:32 +0000 (16:42 -0800)
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>
drivers/staging/winbond/localpara.h
drivers/staging/winbond/sme_api.h

index b731875f80f5b945d3ba24e114941652ec5fc49d..b82d5ce4b1bd8920559f09aafc421a667e21453e 100644 (file)
@@ -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.
index 549878302288bc0ff60fe76c91f1aedd8f15c408..62c256499bc447f353336da5f20eeba5e3bf6890 100644 (file)
@@ -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);