summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/if_ipw.c5
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);