D'oh- isp_handle_index' logic was reversed (not used in FreeBSD).
MFC after: 1 week
This commit is contained in:
parent
2a4510e122
commit
739fd8c533
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205712
@ -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…
Reference in New Issue
Block a user