be2net: Allow VFs to call be_cmd_reset_function.
Subsystems (2)
PATCH 9/15 be2net: Allow VFs to call be_cmd_reset_function.
Signed-off-by Ajit Khaparde <[email protected]>
--- drivers/net/benet/be_main.c | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-)
drivers/net/benet/be_main.c +3 -5
@@ -2959,11 +2959,9 @@ static int __devinit be_probe(struct pci_dev *pdev,if (status) goto ctrl_clean; -if (be_physfn (adapter)) { - status =be_cmd_reset_function (adapter); -if (status) - goto ctrl_clean; - } + status =be_cmd_reset_function (adapter); +if (status) + goto ctrl_clean; status =be_stats_init (adapter);if (status)
Signature · 1 line
1.7.1