diff options
Diffstat (limited to 'net/dcb')
-rw-r--r-- | net/dcb/dcbnl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/dcb/dcbnl.c b/net/dcb/dcbnl.c index a1254061629f..fc88fc4d4f63 100644 --- a/net/dcb/dcbnl.c +++ b/net/dcb/dcbnl.c | |||
@@ -714,9 +714,8 @@ static int dcbnl_setstate(struct net_device *netdev, struct nlattr **tb, | |||
714 | 714 | ||
715 | value = nla_get_u8(tb[DCB_ATTR_STATE]); | 715 | value = nla_get_u8(tb[DCB_ATTR_STATE]); |
716 | 716 | ||
717 | netdev->dcbnl_ops->setstate(netdev, value); | 717 | ret = dcbnl_reply(netdev->dcbnl_ops->setstate(netdev, value), |
718 | 718 | RTM_SETDCB, DCB_CMD_SSTATE, DCB_ATTR_STATE, | |
719 | ret = dcbnl_reply(0, RTM_SETDCB, DCB_CMD_SSTATE, DCB_ATTR_STATE, | ||
720 | pid, seq, flags); | 719 | pid, seq, flags); |
721 | 720 | ||
722 | return ret; | 721 | return ret; |