diff options
author | glebius <glebius@FreeBSD.org> | 2015-05-25 18:50:26 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2015-05-25 18:50:26 +0000 |
commit | 8e50f6e398c45b4abb0daff911d2655e7547e491 (patch) | |
tree | 440e9e762f55c66a42ab04bb26fd1b56566d7c82 /sys/dev/usb/wlan/if_run.c | |
parent | 40fb0d73886f3cba02fd6b48722e7019dc8dc821 (diff) | |
download | FreeBSD-src-8e50f6e398c45b4abb0daff911d2655e7547e491.zip FreeBSD-src-8e50f6e398c45b4abb0daff911d2655e7547e491.tar.gz |
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.
Diffstat (limited to 'sys/dev/usb/wlan/if_run.c')
-rw-r--r-- | sys/dev/usb/wlan/if_run.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/wlan/if_run.c b/sys/dev/usb/wlan/if_run.c index e318338..d06fdc1 100644 --- a/sys/dev/usb/wlan/if_run.c +++ b/sys/dev/usb/wlan/if_run.c @@ -776,6 +776,7 @@ run_attach(device_t self) IFQ_SET_READY(&ifp->if_snd); ic->ic_ifp = ifp; + ic->ic_softc = sc; ic->ic_name = device_get_nameunit(self); ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */ ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ |