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/a221117d34de
branches:  trunk
changeset: 950634:a221117d34de
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 4e1b4af658bb -r a221117d34de 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