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/9c9be2506ffd
branches:  trunk
changeset: 371476:9c9be2506ffd
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 9e3bbda37097 -r 9c9be2506ffd 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