projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: dcb: fix small regression in __dcbnl_pg_setcfg()
[linux-drm-fsl-dcu.git]
/
net
/
dcb
/
dcbnl.c
diff --git
a/net/dcb/dcbnl.c
b/net/dcb/dcbnl.c
index 0a360072cfec463bb52c8912bbb545a67148201d..013da86575e848bbb3435bb8125b5d1d75854787 100644
(file)
--- a/
net/dcb/dcbnl.c
+++ b/
net/dcb/dcbnl.c
@@
-852,8
+852,7
@@
static int __dcbnl_pg_setcfg(struct net_device *netdev, struct nlmsghdr *nlh,
}
}
- return nla_put_u8(skb,
- (dir ? DCB_CMD_PGRX_SCFG : DCB_CMD_PGTX_SCFG), 0);
+ return nla_put_u8(skb, DCB_ATTR_PG_CFG, 0);
}
static int dcbnl_pgtx_setcfg(struct net_device *netdev, struct nlmsghdr *nlh,