ifcapnv: cap_bit in ifcap2_nv_bit_names[] is bit, not index
Sponsored by: Nvidia networking
This commit is contained in:
parent
512c553671
commit
7170774e2a
@ -2425,7 +2425,7 @@ const struct ifcap_nv_bit_name ifcap_nv_bit_names[] = {
|
||||
CAPNV(TXTLS_RTLMT),
|
||||
{0, NULL}
|
||||
};
|
||||
#define CAP2NV(x) {.cap_bit = IFCAP2_##x, \
|
||||
#define CAP2NV(x) {.cap_bit = IFCAP2_BIT(IFCAP2_##x), \
|
||||
.cap_name = __CONCAT(IFCAP2_, __CONCAT(x, _NAME)) }
|
||||
const struct ifcap_nv_bit_name ifcap2_nv_bit_names[] = {
|
||||
CAP2NV(RXTLS4),
|
||||
|
Loading…
Reference in New Issue
Block a user