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

descriptor page is supported.
This commit is contained in:
mav 2012-12-19 09:55:13 +00:00
parent 09af01583b
commit 4a14a78087

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: