aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/usb/wlan/if_rsu.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/usb/wlan/if_rsu.c b/sys/dev/usb/wlan/if_rsu.c
index 86b7fce9e0b2..353d538c3142 100644
--- a/sys/dev/usb/wlan/if_rsu.c
+++ b/sys/dev/usb/wlan/if_rsu.c
@@ -299,6 +299,13 @@ rsu_match(device_t self)
}
static int
+rsu_send_mgmt(struct ieee80211_node *ni, int type, int arg)
+{
+
+ return (ENOTSUP);
+}
+
+static int
rsu_attach(device_t self)
{
struct usb_attach_arg *uaa = device_get_ivars(self);
@@ -398,6 +405,7 @@ rsu_attach(device_t self)
ic->ic_update_mcast = rsu_update_mcast;
ic->ic_parent = rsu_parent;
ic->ic_transmit = rsu_transmit;
+ ic->ic_send_mgmt = rsu_send_mgmt;
ieee80211_radiotap_attach(ic, &sc->sc_txtap.wt_ihdr,
sizeof(sc->sc_txtap), RSU_TX_RADIOTAP_PRESENT,