i40evf: clear command when error occurs
authorBernard Iremonger <bernard.iremonger@intel.com>
Fri, 3 Jul 2015 14:03:57 +0000 (15:03 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 19 Jul 2015 19:30:19 +0000 (21:30 +0200)
commit0b475bb5bb7c3b4a88ac3a0e5b9bfdf947d4c7aa
tree2c3379b3605594c82946d2882e68d7d4f80f95fe
parent37d7b38b51fe2af61ed219fe5dbc156cfdf66608
i40evf: clear command when error occurs

_clear_cmd() was not being called in failure situations,
resulting in the next command also failing.
Fix several typos.

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c