mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Remove most typedef statements from include/osdep_service.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
26b163f24f
commit
e2285839e9
46 changed files with 531 additions and 733 deletions
|
@ -76,27 +76,7 @@ typedef struct _DR_VARIABLE_STRUCT_ {
|
|||
|
||||
//int mp_start_joinbss(struct adapter *padapter, NDIS_802_11_SSID *pssid);
|
||||
|
||||
//void _irqlevel_changed_(_irqL *irqlevel, /*bool*/unsigned 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue