mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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:
parent
8bc320add0
commit
c2a20ff95a
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue