summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)) !=