diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-05-25 18:50:26 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-05-25 18:50:26 +0000 |
commit | 59686fe93550b9811472226276fe09ccad55866f (patch) | |
tree | 440e9e762f55c66a42ab04bb26fd1b56566d7c82 /sys/dev/mwl | |
parent | b66af287ad63260cc2642736d7bbb4cd18a48deb (diff) | |
download | src-59686fe93550b9811472226276fe09ccad55866f.tar.gz src-59686fe93550b9811472226276fe09ccad55866f.zip |
Set ic_softc in all 802.11 drivers. Not required right now, but will be
used quite soon.
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
Notes
Notes:
svn path=/head/; revision=283537
Diffstat (limited to 'sys/dev/mwl')
-rw-r--r-- | sys/dev/mwl/if_mwl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/mwl/if_mwl.c b/sys/dev/mwl/if_mwl.c index f7e6cfe67356..bf09e70b718d 100644 --- a/sys/dev/mwl/if_mwl.c +++ b/sys/dev/mwl/if_mwl.c @@ -413,6 +413,7 @@ mwl_attach(uint16_t devid, struct mwl_softc *sc) IFQ_SET_READY(&ifp->if_snd); ic->ic_ifp = ifp; + ic->ic_softc = sc; ic->ic_name = device_get_nameunit(sc->sc_dev); /* XXX not right but it's not used anywhere important */ ic->ic_phytype = IEEE80211_T_OFDM; |