Fix bug in r242720, that caused additional status page to not be used if

descriptor page is supported.
This commit is contained in:
Alexander Motin 2012-12-19 09:55:13 +00:00
parent c2c46ecd68
commit 44525d12bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=244418

View File

@ -1272,13 +1272,10 @@ ses_process_pages(enc_softc_t *enc, struct enc_fsm_state *state,
err = 0;
for (i = 0; i < length; i++) {
if (page->params[i] == SesElementDescriptor) {
if (page->params[i] == SesElementDescriptor)
ses->ses_flags |= SES_FLAG_DESC;
break;
} else if (page->params[i] == SesAddlElementStatus) {
else if (page->params[i] == SesAddlElementStatus)
ses->ses_flags |= SES_FLAG_ADDLSTATUS;
break;
}
}
out: