This is an MFC of 205712.
D'oh- isp_handle_index' logic was reversed (not used in FreeBSD).
This commit is contained in:
parent
d6399780a8
commit
54d9759401
@ -294,10 +294,10 @@ uint32_t
|
||||
isp_handle_index(ispsoftc_t *isp, uint32_t handle)
|
||||
{
|
||||
if (!ISP_VALID_HANDLE(isp, handle)) {
|
||||
return (handle & ISP_HANDLE_CMD_MASK);
|
||||
} else {
|
||||
isp_prt(isp, ISP_LOGERR, "%s: bad handle 0x%x", __func__, handle);
|
||||
return (ISP_BAD_HANDLE_INDEX);
|
||||
} else {
|
||||
return (handle & ISP_HANDLE_CMD_MASK);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user