mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-01-19 12:16:39 +00:00
rtl8188eu: CONFIG_GLOBAL_UI_PID is always selected
This configuration variable is removed. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
5ce0198d67
commit
83e1776605
4 changed files with 2 additions and 11 deletions
|
@ -105,7 +105,6 @@
|
|||
#endif // CONFIG_LED
|
||||
|
||||
#define USB_INTERFERENCE_ISSUE // this should be checked in all usb interface
|
||||
#define CONFIG_GLOBAL_UI_PID
|
||||
|
||||
#define CONFIG_NEW_SIGNAL_STAT_PROCESS
|
||||
#define RTW_NOTCH_FILTER 0 /* 0:Disable, 1:Enable, */
|
||||
|
|
|
@ -133,8 +133,7 @@ extern NDIS_STATUS drv_set_info(
|
|||
u32* BytesRead,
|
||||
u32* BytesNeeded
|
||||
);
|
||||
#ifdef CONFIG_GLOBAL_UI_PID
|
||||
|
||||
extern int ui_pid[3];
|
||||
#endif
|
||||
|
||||
#endif // #ifndef __INC_CEINFO_
|
||||
|
|
|
@ -3485,9 +3485,7 @@ static int rtw_set_pid(struct net_device *dev,
|
|||
selector = *pdata;
|
||||
if (selector < 3 && selector >=0) {
|
||||
padapter->pid[selector] = *(pdata+1);
|
||||
#ifdef CONFIG_GLOBAL_UI_PID
|
||||
ui_pid[selector] = *(pdata+1);
|
||||
#endif
|
||||
DBG_88E("%s set pid[%d]=%d\n", __func__, selector ,padapter->pid[selector]);
|
||||
}
|
||||
else
|
||||
|
|
|
@ -35,10 +35,7 @@
|
|||
#include <usb_hal.h>
|
||||
#include <rtw_ioctl.h>
|
||||
|
||||
#ifdef CONFIG_GLOBAL_UI_PID
|
||||
int ui_pid[3] = {0, 0, 0};
|
||||
#endif
|
||||
|
||||
|
||||
static int rtw_suspend(struct usb_interface *intf, pm_message_t message);
|
||||
static int rtw_resume(struct usb_interface *intf);
|
||||
|
@ -1379,12 +1376,10 @@ static int rtw_drv_init(struct usb_interface *pusb_intf, const struct usb_device
|
|||
goto free_dvobj;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_GLOBAL_UI_PID
|
||||
if (ui_pid[1]!=0) {
|
||||
if (ui_pid[1] != 0) {
|
||||
DBG_88E("ui_pid[1]:%d\n",ui_pid[1]);
|
||||
rtw_signal_process(ui_pid[1], SIGUSR2);
|
||||
}
|
||||
#endif
|
||||
|
||||
RT_TRACE(_module_hci_intfs_c_,_drv_err_,("-871x_drv - drv_init, success!\n"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue