43 if (!netif_running(dev)) {
53 if (!priv->
rtllib->bSupportRemoteWakeUp) {
66 printk(
"r8192E support WOL call??????????????????????\n");
67 if (priv->
rtllib->bSupportRemoteWakeUp)
73 priv->
rtllib->bSupportRemoteWakeUp ? 1 : 0);
100 pci_read_config_dword(pdev, 0x40, &val);
101 if ((val & 0x0000ff00) != 0)
102 pci_write_config_dword(pdev, 0x40, val & 0xffff00ff);
104 pci_enable_wake(pdev,
PCI_D0, 0);
109 if (!netif_running(dev)) {
116 if (dev->netdev_ops->ndo_open)
117 dev->netdev_ops->ndo_open(dev);
119 if (!priv->
rtllib->bSupportRemoteWakeUp)
131 state.
event, enable);