summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2021-12-24 15:23:33 +0200
committerToomas Soome <tsoome@me.com>2022-01-17 23:26:11 +0200
commitd278f1c9d93ca9beb430b23636bc2a848535e0e0 (patch)
treef0c4de77c38eef0c20abcaf5d14ca68bfb3b844f /usr/src
parent53496f229747a02889ac4f8518b2e4b44ff2f9e0 (diff)
downloadillumos-gate-d278f1c9d93ca9beb430b23636bc2a848535e0e0.tar.gz
14350 uath: mismatched bound
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/io/uath/uath.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr/src/uts/common/io/uath/uath.c b/usr/src/uts/common/io/uath/uath.c
index 4d24e55316..ee8469b0af 100644
--- a/usr/src/uts/common/io/uath/uath.c
+++ b/usr/src/uts/common/io/uath/uath.c
@@ -241,12 +241,13 @@ static int uath_loadsym(ddi_modhandle_t, char *, char **, size_t *);
static int uath_loadfirmware(struct uath_softc *);
static int uath_alloc_cmd_list(struct uath_softc *,
struct uath_cmd *, int, int);
-static int uath_init_cmd_list(struct uath_softc *);
+static int uath_init_cmd_list(struct uath_softc *);
static void uath_free_cmd_list(struct uath_cmd *, int);
static int uath_host_available(struct uath_softc *);
static void uath_get_capability(struct uath_softc *, uint32_t, uint32_t *);
static int uath_get_devcap(struct uath_softc *);
-static int uath_get_devstatus(struct uath_softc *, uint8_t *);
+static int uath_get_devstatus(struct uath_softc *,
+ uint8_t [IEEE80211_ADDR_LEN]);
static int uath_get_status(struct uath_softc *, uint32_t, void *, int);
static void uath_cmd_lock_init(struct uath_cmd_lock *);
@@ -1534,12 +1535,12 @@ uath_tx_data_xfer(struct uath_softc *sc, mblk_t *mp)
req->bulk_len = msgdsize(mp);
req->bulk_data = mp;
- req->bulk_client_private = (usb_opaque_t)sc;
+ req->bulk_client_private = (usb_opaque_t)sc;
req->bulk_timeout = UATH_DATA_TIMEOUT;
req->bulk_attributes = USB_ATTRS_AUTOCLEARING;
req->bulk_cb = uath_data_txeof;
req->bulk_exc_cb = uath_data_txeof;
- req->bulk_completion_reason = 0;
+ req->bulk_completion_reason = 0;
req->bulk_cb_flags = 0;
if ((err = usb_pipe_bulk_xfer(sc->tx_data_pipe, req, 0)) !=