summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb2/wlan/if_zyd2.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-01-18 05:35:58 +0000
committerthompsa <thompsa@FreeBSD.org>2009-01-18 05:35:58 +0000
commit78d081bd1e5039039438a2cfe82f8b3060fc181e (patch)
tree61a511294ef6dd45f63b2ecd3b1541bba0c25981 /sys/dev/usb2/wlan/if_zyd2.c
parent1d6fbb62eacc39a465419b19aaecb889dd930b0b (diff)
downloadFreeBSD-src-78d081bd1e5039039438a2cfe82f8b3060fc181e.zip
FreeBSD-src-78d081bd1e5039039438a2cfe82f8b3060fc181e.tar.gz
Just put the ifnet pointer first in the softc like it needs to be rather than
adding another deliciously evil pointer.
Diffstat (limited to 'sys/dev/usb2/wlan/if_zyd2.c')
-rw-r--r--sys/dev/usb2/wlan/if_zyd2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/usb2/wlan/if_zyd2.c b/sys/dev/usb2/wlan/if_zyd2.c
index f18bee8..281035d 100644
--- a/sys/dev/usb2/wlan/if_zyd2.c
+++ b/sys/dev/usb2/wlan/if_zyd2.c
@@ -2078,7 +2078,6 @@ zyd_cfg_first_time_setup(struct zyd_softc *sc,
sc->sc_name);
goto done;
}
- sc->sc_evilhack = ifp;
sc->sc_ifp = ifp;
ic = ifp->if_l2com;
OpenPOWER on IntegriCloud