summaryrefslogtreecommitdiffstats
path: root/sys/dev/malo/if_malo.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/malo/if_malo.c')
-rw-r--r--sys/dev/malo/if_malo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/malo/if_malo.c b/sys/dev/malo/if_malo.c
index a3aa04e..e998f74 100644
--- a/sys/dev/malo/if_malo.c
+++ b/sys/dev/malo/if_malo.c
@@ -276,6 +276,7 @@ malo_attach(uint16_t devid, struct malo_softc *sc)
IFQ_SET_READY(&ifp->if_snd);
ic->ic_ifp = ifp;
+ ic->ic_name = device_get_nameunit(sc->malo_dev);
/* XXX not right but it's not used anywhere important */
ic->ic_phytype = IEEE80211_T_OFDM;
ic->ic_opmode = IEEE80211_M_STA;
OpenPOWER on IntegriCloud