diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2004-10-27 21:15:18 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2004-10-27 21:15:18 +0000 |
commit | 11a82d3003638a5920ad63bc8b514c2fbf9af84e (patch) | |
tree | a2b537047437e4aee2f55fa6cfd199700168fb42 /sys/dev/pci | |
parent | 6f0118de1036dcce716f5f948ddfb113b799fa0a (diff) |
Remove unuseful initialization of ic->ic_bss->ni_chan in ipw_init().
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_ipw.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/if_ipw.c b/sys/dev/pci/if_ipw.c index 1e96f87ff0a..b392ffdea04 100644 --- a/sys/dev/pci/if_ipw.c +++ b/sys/dev/pci/if_ipw.c @@ -1,4 +1,4 @@ -/* $Id: if_ipw.c,v 1.5 2004/10/27 21:14:48 damien Exp $ */ +/* $Id: if_ipw.c,v 1.6 2004/10/27 21:15:17 damien Exp $ */ /*- * Copyright (c) 2004 @@ -1876,7 +1876,6 @@ int ipw_init(struct ifnet *ifp) { struct ipw_softc *sc = ifp->if_softc; - struct ieee80211com *ic = &sc->sc_ic; /* exit immediately if firmware has not been ioctl'd */ if (!(sc->flags & IPW_FLAG_FW_INITED)) { @@ -1895,8 +1894,6 @@ ipw_init(struct ifnet *ifp) ifp->if_flags &= ~IFF_OACTIVE; ifp->if_flags |= IFF_RUNNING; - ic->ic_bss->ni_chan = ic->ic_channels; - return 0; fail: ipw_stop(ifp, 0); |