[BACK]Return to if_iwn.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / pci

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/pci/if_iwn.c between version 1.36.2.2 and 1.36.2.3

version 1.36.2.2, 2010/08/17 06:46:25 version 1.36.2.3, 2010/10/22 07:22:05
Line 5913  iwn_stop(struct ifnet *ifp, int disable)
Line 5913  iwn_stop(struct ifnet *ifp, int disable)
         struct iwn_softc *sc = ifp->if_softc;          struct iwn_softc *sc = ifp->if_softc;
         struct ieee80211com *ic = &sc->sc_ic;          struct ieee80211com *ic = &sc->sc_ic;
   
         mutex_enter(&sc->sc_mtx);          if (!disable)
                   mutex_enter(&sc->sc_mtx);
         sc->sc_flags &= ~IWN_FLAG_HW_INITED;          sc->sc_flags &= ~IWN_FLAG_HW_INITED;
         ifp->if_timer = sc->sc_tx_timer = 0;          ifp->if_timer = sc->sc_tx_timer = 0;
         ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE);          ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE);
Line 5928  iwn_stop(struct ifnet *ifp, int disable)
Line 5929  iwn_stop(struct ifnet *ifp, int disable)
         sc->sc_sensor.value_cur = 0;          sc->sc_sensor.value_cur = 0;
         sc->sc_sensor.state = ENVSYS_SINVALID;          sc->sc_sensor.state = ENVSYS_SINVALID;
 #endif  #endif
         mutex_exit(&sc->sc_mtx);          if (!disable)
                   mutex_exit(&sc->sc_mtx);
 }  }
   
 /*  /*

Legend:
Removed from v.1.36.2.2  
changed lines
  Added in v.1.36.2.3

CVSweb <webmaster@jp.NetBSD.org>