mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
sfxge(4): translate MC_CMD_ERR_ERANGE to host errno value
This is needed because MCDI command MC_CMD_REKEY can return MC_CMD_ERR_ERANGE. Submitted by: Tom Millington <tmillington at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 2 days
This commit is contained in:
parent
dc55467f7e
commit
406b8d7d9b
1 changed files with 2 additions and 0 deletions
|
|
@ -646,6 +646,8 @@ efx_mcdi_request_errcode(
|
|||
case MC_CMD_ERR_ENOSPC:
|
||||
return (ENOSPC);
|
||||
#endif
|
||||
case MC_CMD_ERR_ERANGE:
|
||||
return (ERANGE);
|
||||
|
||||
case MC_CMD_ERR_ALLOC_FAIL:
|
||||
return (ENOMEM);
|
||||
|
|
|
|||
Loading…
Reference in a new issue