aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mwl
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2015-05-25 13:51:13 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2015-05-25 13:51:13 +0000
commitc8550c0278f7af3050427d3abe4a05dd6113f2f4 (patch)
tree20c52d5b70928dbf070e0479f87a9ad4dd8df9e2 /sys/dev/mwl
parentef6fa9e26d4074c432dc35f404048761812ce941 (diff)
Notes
Diffstat (limited to 'sys/dev/mwl')
-rw-r--r--sys/dev/mwl/if_mwl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/mwl/if_mwl.c b/sys/dev/mwl/if_mwl.c
index 5997dbc96194b..f7e6cfe673566 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_name = device_get_nameunit(sc->sc_dev);
/* XXX not right but it's not used anywhere important */
ic->ic_phytype = IEEE80211_T_OFDM;
ic->ic_opmode = IEEE80211_M_STA;