mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 05:53:06 +00:00
rtl8188eu: Fix builds for branch v4.1.8_9499 for newer kernels
These changes allow builds up through kernel 4.16. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
10737c73b1
commit
594a5a050d
13 changed files with 235 additions and 10 deletions
|
@ -177,7 +177,11 @@ struct led_priv{
|
|||
(adapter)->ledpriv.LedControlHandler((adapter), (LedAction)); \
|
||||
} while (0)
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
|
||||
void BlinkTimerCallback(void *data);
|
||||
#else
|
||||
void BlinkTimerCallback(struct timer_list *t);
|
||||
#endif
|
||||
void BlinkWorkItemCallback(struct work_struct *work);
|
||||
|
||||
void ResetLedStatus(PLED_871x pLed);
|
||||
|
|
|
@ -534,8 +534,13 @@ void rtw_atimdone_event_callback(struct adapter *adapter, u8 *pbuf);
|
|||
void rtw_cpwm_event_callback(struct adapter *adapter, u8 *pbuf);
|
||||
|
||||
int event_thread(void *context);
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
|
||||
void _rtw_scan_timeout_handler (void *FunctionContext);
|
||||
void rtw_join_timeout_handler(void* FunctionContext);
|
||||
void _rtw_scan_timeout_handler(void* FunctionContext);
|
||||
#else
|
||||
void _rtw_scan_timeout_handler(struct timer_list *t);
|
||||
void rtw_join_timeout_handler(struct timer_list *t);
|
||||
#endif
|
||||
|
||||
void rtw_free_network_queue(struct adapter *adapter,u8 isfreeall);
|
||||
int rtw_init_mlme_priv(struct adapter *adapter);/* (struct mlme_priv *pmlmepriv); */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue