aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/dcb/dcbnl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/dcb/dcbnl.c b/net/dcb/dcbnl.c
index 0a360072cfe..013da86575e 100644
--- 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,
852 } 852 }
853 } 853 }
854 854
855 return nla_put_u8(skb, 855 return nla_put_u8(skb, DCB_ATTR_PG_CFG, 0);
856 (dir ? DCB_CMD_PGRX_SCFG : DCB_CMD_PGTX_SCFG), 0);
857} 856}
858 857
859static int dcbnl_pgtx_setcfg(struct net_device *netdev, struct nlmsghdr *nlh, 858static int dcbnl_pgtx_setcfg(struct net_device *netdev, struct nlmsghdr *nlh,