Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/pci Iwm currently has no suspend/resume functi...



details:   https://anonhg.NetBSD.org/src-all/rev/9c32442ce64f
branches:  trunk
changeset: 367056:9c32442ce64f
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Thu Sep 24 12:39:00 2020 +1000

description:
Iwm currently has no suspend/resume functions.

diffstat:

 sys/dev/pci/if_iwm.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (18 lines):

diff -r aa5d8105fd30 -r 9c32442ce64f sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Thu Sep 24 12:37:37 2020 +1000
+++ b/sys/dev/pci/if_iwm.c      Thu Sep 24 12:39:00 2020 +1000
@@ -8443,12 +8443,14 @@
 
        iwm_radiotap_attach(sc, vap->iv_ifp);
 
+#if 0
        if (pmf_device_register(self, NULL, iwm_resume))
                pmf_class_network_register(self, vap->iv_ifp);
        else {
                aprint_error_dev(self, "couldn't establish power handler\n");
                return 0;
        }
+#endif
 
        ieee80211_announce(ic);
 



Home | Main Index | Thread Index | Old Index