Off-by-one correctiont to r290980.

This commit is contained in:
Alexander Motin 2015-11-17 14:22:56 +00:00
parent 53c0eee354
commit 6955aeb2c3

View File

@ -4268,7 +4268,7 @@ isp_next_handle(ispsoftc_t *isp, uint16_t *ohp)
handle = *ohp;
if (ISP_CAP_2KLOGIN(isp)) {
minh = 0;
maxh = NPH_RESERVED;
maxh = NPH_RESERVED - 1;
} else {
minh = SNS_ID + 1;
maxh = NPH_MAX - 1;