diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-01-18 05:35:58 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-01-18 05:35:58 +0000 |
commit | 78d081bd1e5039039438a2cfe82f8b3060fc181e (patch) | |
tree | 61a511294ef6dd45f63b2ecd3b1541bba0c25981 /sys/dev/usb2/wlan/if_zyd2.c | |
parent | 1d6fbb62eacc39a465419b19aaecb889dd930b0b (diff) | |
download | FreeBSD-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.c | 1 |
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; |