be2net: Enable VF link state setting for BE3
authorSuresh Reddy <suresh.reddy@broadcom.com>
Sun, 9 Oct 2016 04:28:53 +0000 (09:58 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Oct 2016 13:30:39 +0000 (09:30 -0400)
The VF link state setting feature now works on BE3 chips too from
FW ver 11.1.192.0 onwards.

Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com>
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c

index 7e9be9f..1fb5d72 100644 (file)
@@ -4977,7 +4977,7 @@ int be_cmd_set_logical_link_config(struct be_adapter *adapter,
 {
        int status;
 
-       if (BEx_chip(adapter))
+       if (BE2_chip(adapter))
                return -EOPNOTSUPP;
 
        status = __be_cmd_set_logical_link_config(adapter, link_state,