aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/wlan/if_uath.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2015-05-25 18:50:26 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2015-05-25 18:50:26 +0000
commit59686fe93550b9811472226276fe09ccad55866f (patch)
tree440e9e762f55c66a42ab04bb26fd1b56566d7c82 /sys/dev/usb/wlan/if_uath.c
parentb66af287ad63260cc2642736d7bbb4cd18a48deb (diff)
downloadsrc-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/usb/wlan/if_uath.c')
-rw-r--r--sys/dev/usb/wlan/if_uath.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/wlan/if_uath.c b/sys/dev/usb/wlan/if_uath.c
index d6adf4ce5164..1abd60ee0e39 100644
--- a/sys/dev/usb/wlan/if_uath.c
+++ b/sys/dev/usb/wlan/if_uath.c
@@ -442,6 +442,7 @@ uath_attach(device_t dev)
ic = ifp->if_l2com;
ic->ic_ifp = ifp;
+ ic->ic_softc = sc;
ic->ic_name = device_get_nameunit(dev);
ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */