NetBSD-Bugs archive

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

Re: kern/52899: Kernel panic with iwm



On Jan 5, 10:03pm, alnsn%yandex.ru@localhost (Alexander Nasonov) wrote:
-- Subject: Re: kern/52899: Kernel panic with iwm

Does this fix it?

Index: if_iwm.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_iwm.c,v
retrieving revision 1.76
diff -u -p -u -r1.76 if_iwm.c
--- if_iwm.c    23 Oct 2017 09:28:38 -0000      1.76
+++ if_iwm.c    6 Jan 2018 18:42:06 -0000
@@ -7758,6 +7758,7 @@ iwm_preinit(struct iwm_softc *sc)
        if (sc->sc_nvm.sku_cap_band_52GHz_enable)
                ic->ic_sup_rates[IEEE80211_MODE_11A] = ieee80211_std_rateset_11a;
 
+       ether_ifdetach(ifp):
        ieee80211_ifattach(ic);
 
        ic->ic_node_alloc = iwm_node_alloc;



Home | Main Index | Thread Index | Old Index