be2net: Add DEVSEC privilege to SET_HSW_CONFIG command.
authorVenkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Tue, 6 Dec 2016 05:33:50 +0000 (00:33 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Dec 2016 16:39:41 +0000 (11:39 -0500)
commitd14584d91976c42c7178164665c4959495740939
tree89e211e1972074c990d8b67b3a466234dee539c7
parente37e2ff350a321ad9c36b588e76f34fbba305be6
be2net: Add DEVSEC privilege to SET_HSW_CONFIG command.

OPCODE_COMMON_GET_FN_PRIVILEGES is returning only DEVSEC
privilege (Unrestricted Administrative Privilege) for Lancer NIC functions.
So, driver is failing SET_HSW_CONFIG command, as DEVSEC privilege was not
set in the privilege bitmap. This patch fixes the problem by setting DEVSEC
privilege in SET_HSW_CONFIG’s privilege bitmap.

Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c