]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit646f7df3e471cee854f8cb33419d8245090f8e7a
tree89e211e1972074c990d8b67b3a466234dee539c7
parent91f8c41c0ed5ba79bae6e063f7818602188f2310
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