mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
Remove code related to PLATFORM_OS_XP
This commit is contained in:
@@ -73,24 +73,7 @@ typedef struct _DR_VARIABLE_STRUCT_ {
|
||||
/* int mp_start_joinbss(_adapter *padapter, NDIS_802_11_SSID *pssid); */
|
||||
|
||||
/* void _irqlevel_changed_(_irqL *irqlevel, BOOLEANunsigned char bLower); */
|
||||
#ifdef PLATFORM_OS_XP
|
||||
static void _irqlevel_changed_(_irqL *irqlevel, u8 bLower)
|
||||
{
|
||||
|
||||
if (bLower == LOWER) {
|
||||
*irqlevel = KeGetCurrentIrql();
|
||||
|
||||
if (*irqlevel > PASSIVE_LEVEL)
|
||||
KeLowerIrql(PASSIVE_LEVEL);
|
||||
} else {
|
||||
if (KeGetCurrentIrql() == PASSIVE_LEVEL)
|
||||
KeRaiseIrql(DISPATCH_LEVEL, irqlevel);
|
||||
}
|
||||
|
||||
}
|
||||
#else
|
||||
#define _irqlevel_changed_(a, b)
|
||||
#endif
|
||||
|
||||
/* oid_rtl_seg_81_80_00 */
|
||||
NDIS_STATUS oid_rt_pro_set_data_rate_hdl(struct oid_par_priv *poid_par_priv);
|
||||
|
||||
Reference in New Issue
Block a user