1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-30 00:47:38 +00:00

Nuke good 'old debug also known as /proc

This commit is contained in:
kimocoder 2019-08-16 19:15:24 +02:00
parent 84f5ceca14
commit 12d7cac87b
5 changed files with 1 additions and 4671 deletions

View File

@ -263,7 +263,6 @@ _OS_INTFS_FILES := os_dep/osdep_service.o \
os_dep/linux/rtw_cfgvendor.o \
os_dep/linux/wifi_regd.o \
os_dep/linux/rtw_android.o \
os_dep/linux/rtw_proc.o \
os_dep/linux/rtw_rhashtable.o
ifeq ($(CONFIG_MP_INCLUDED), y)

View File

@ -125,8 +125,6 @@ void rtw_ndev_notifier_unregister(void);
void rtw_inetaddr_notifier_register(void);
void rtw_inetaddr_notifier_unregister(void);
#include "../os_dep/linux/rtw_proc.h"
#ifdef CONFIG_IOCTL_CFG80211
#include "../os_dep/linux/ioctl_cfg80211.h"
#endif /* CONFIG_IOCTL_CFG80211 */

View File

@ -1459,7 +1459,7 @@ static int rtw_ndev_notifier_call(struct notifier_block *nb, unsigned long state
switch (state) {
case NETDEV_CHANGENAME:
rtw_adapter_proc_replace(ndev);
//rtw_adapter_proc_replace(ndev);
break;
#ifdef CONFIG_NEW_NETDEV_HDL
case NETDEV_PRE_UP :
@ -1497,7 +1497,6 @@ int rtw_ndev_init(struct net_device *dev)
, FUNC_ADPT_ARG(adapter), (adapter->iface_id + 1), MAC_ARG(dev->dev_addr));
strncpy(adapter->old_ifname, dev->name, IFNAMSIZ);
adapter->old_ifname[IFNAMSIZ - 1] = '\0';
rtw_adapter_proc_init(dev);
return 0;
}
@ -1508,7 +1507,6 @@ void rtw_ndev_uninit(struct net_device *dev)
RTW_PRINT(FUNC_ADPT_FMT" if%d\n"
, FUNC_ADPT_ARG(adapter), (adapter->iface_id + 1));
rtw_adapter_proc_deinit(dev);
}
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29))

File diff suppressed because it is too large Load Diff

View File

@ -1683,7 +1683,6 @@ static int __init rtw_drv_entry(void)
usb_drv.drv_registered = _TRUE;
rtw_suspend_lock_init();
rtw_drv_proc_init();
rtw_ndev_notifier_register();
rtw_inetaddr_notifier_register();
@ -1692,7 +1691,6 @@ static int __init rtw_drv_entry(void)
if (ret != 0) {
usb_drv.drv_registered = _FALSE;
rtw_suspend_lock_uninit();
rtw_drv_proc_deinit();
rtw_ndev_notifier_unregister();
rtw_inetaddr_notifier_unregister();
goto exit;
@ -1714,7 +1712,6 @@ static void __exit rtw_drv_halt(void)
platform_wifi_power_off();
rtw_suspend_lock_uninit();
rtw_drv_proc_deinit();
rtw_ndev_notifier_unregister();
rtw_inetaddr_notifier_unregister();