staging: rtl8192e: rtl8192E_suspend(): Fix WOL reporting
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 31 May 2015 18:19:52 +0000 (20:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 21:33:23 +0000 (06:33 +0900)
WOL capability was reported in an awkward way - print it nicely.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_pm.c

index ca6ecfc8299e88b75a5b0b9357afd51707c5494a..e4908672421ce1a1f712f986e68e0a19235490a8 100644 (file)
@@ -57,10 +57,8 @@ int rtl8192E_suspend(struct pci_dev *pdev, pm_message_t state)
                write_nic_byte(dev, MacBlkCtrl, 0xa);
        }
 out_pci_suspend:
-       netdev_info(dev, "r8192E support WOL call??????????????????????\n");
-       if (priv->rtllib->bSupportRemoteWakeUp)
-               RT_TRACE(COMP_POWER,
-                        "r8192E support WOL call!!!!!!!!!!!!!!!!!!.\n");
+       netdev_info(dev, "WOL is %s\n", priv->rtllib->bSupportRemoteWakeUp ?
+                           "Supported" : "Not supported");
        pci_save_state(pdev);
        pci_disable_device(pdev);
        pci_enable_wake(pdev, pci_choose_state(pdev, state),