1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Clean up reference to AEN command if abort AEN is succesful as the command is aborted.

Did the same by setting sc->aen_cmd = NULL when aborting AEN is successful.

Submitted by:   Sumit Saxena <sumit.saxena@broadcom.com>
Reviewed by:    Kashyap Desai <Kashyap.Desai@broadcom.com>
MFC after:  3 days
Sponsored by:   Broadcom Limited/AVAGO Technologies
This commit is contained in:
Kashyap D Desai 2016-11-29 12:58:28 +00:00
parent 8bc320add0
commit c2a20ff95a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309288

View File

@ -675,7 +675,8 @@ mrsas_register_aen(struct mrsas_softc *sc, u_int32_t seq_num,
if (ret_val) {
printf("mrsas: Failed to abort previous AEN command\n");
return ret_val;
}
} else
sc->aen_cmd = NULL;
}
}
cmd = mrsas_get_mfi_cmd(sc);