]> www.infradead.org Git - users/jedix/linux-maple.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)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 01:05:39 +0000 (20:05 -0500)
commitee95e422c8b03b70dead3f89b2b8a7cb2a3b0a0b
treeaa3b7bd65cac18b435dc2486c13639cadfd680dd
parent99cbba6277ecbedad803199efa189847dab8a21b
be2net: Add DEVSEC privilege to SET_HSW_CONFIG command.

Orabug: 25570957

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>
(cherry picked from commit d14584d91976c42c7178164665c4959495740939)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/emulex/benet/be_cmds.c