summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/ib/ibnex/ibnex.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/io/ib/ibnex/ibnex.c')
-rw-r--r--usr/src/uts/common/io/ib/ibnex/ibnex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/ib/ibnex/ibnex.c b/usr/src/uts/common/io/ib/ibnex/ibnex.c
index d25c6ddf05..765f215458 100644
--- a/usr/src/uts/common/io/ib/ibnex/ibnex.c
+++ b/usr/src/uts/common/io/ib/ibnex/ibnex.c
@@ -867,7 +867,7 @@ ibnex_ibtl_callback(ibtl_ibnex_cb_args_t *cb_args)
* from interrupt context.
*/
if (taskq_dispatch(system_taskq, ibnex_handle_reprobe_dev,
- clnt_dip, TQ_SLEEP) == 0) {
+ clnt_dip, TQ_SLEEP) == TASKQID_INVALID) {
IBTF_DPRINTF_L2("ibnex",
"ibnex_ibtl_callback: taskq_dispatch failed");
mutex_enter(&ibnex.ibnex_mutex);